Split off the virtual path on source link

This commit is contained in:
Armin Ronacher 2016-01-09 11:41:35 +01:00
parent 3bd4f6e008
commit f4556b004d
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@
<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
<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>
{%- endif %}
</div>