fixed github edit me links. also added doc for using variables with include parameters for notes, callouts, etc.

This commit is contained in:
tomjohnson1492
2016-06-16 15:20:34 -07:00
parent 6653e1a846
commit f55c60e4d1
92 changed files with 442 additions and 394 deletions

View File

@ -33,13 +33,12 @@ layout: default
{% if site.github_editme_path %}
<a target="_blank" href="https://github.com/{{site.github_editme_path}}{% unless page.url contains "html" %}{{page.url | replace: '.html', '.md'}}{% endunless %}{% if page.url contains "html" %}{{page.url }}{% endif %}" class="btn btn-default githubEditButton" role="button"><i class="fa fa-github fa-lg"></i> Edit me</a>
{% endif %}
{% endunless %}
<a target="_blank" href="https://github.com/{{site.github_editme_path}}/{{page.folder}}/{{page.url | remove: "/" | append: ".md"}}{% endif %}" class="btn btn-default githubEditButton" role="button"><i class="fa fa-github fa-lg"></i> Edit me</a>
{{content}}
{% endunless %}
<div class="tags">
{% if page.tags != null %}
<b>Tags: </b>