fixed github edit me links. also added doc for using variables with include parameters for notes, callouts, etc.
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user