Merge pull request #161 from lektor/lektor-website-160

[lektor-website-160] Fixing link to homepage source.
This commit is contained in:
Joseph Nix 2017-08-28 12:34:38 -05:00 committed by GitHub
commit 7c0cb368fa
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@
<a href="https://gitter.im/lektor/lektor" title="Chat on Gitter"
><i class="fa fa-comment"></i></a>
{%- if this.path %}
<a href="https://github.com/lektor/lektor-website/tree/master/content{{ this.path.split('@')[0]
}}/contents.lr" title="View source for this page"><i class="fa fa-code"></i></a>
<a href="https://github.com/lektor/lektor-website/tree/master/content{% if this.path != '/'
%}{{ this.path.split('@')[0]}}{% endif %}/contents.lr" title="View source for this page"><i class="fa fa-code"></i></a>
{%- endif %}
</div>
<div class="col-sm-8">