| 1 | {%- if show_source and has_source and sourcename %} |
| 2 | <h3>{{ _('This Page') }}</h3> |
| 3 | <ul class="this-page-menu"> |
| 4 | <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}" |
| 5 | rel="nofollow">{{ _('Show Source') }}</a></li> |
| 6 | {%- if edit_on_github_url %} |
| 7 | <li><a href="{{ edit_on_github_url }}" |
| 8 | rel="nofollow">{{ _('Edit on GitHub') }}</a></li> |
| 9 | {%- endif %} |
| 10 | </ul> |
| 11 | {%- endif %} |
| 12 |