Files
LookingGlass/doc/templates/footer.html
2026-08-11 20:46:46 +10:00

21 lines
542 B
HTML

{% extends "!footer.html" %}
{% block extrafooter %}
{{ super() }}
{%- if hasdoc(pagename) and show_source %}
{%- if source_url_prefix %}
<p>
<a href="{{ source_url_prefix }}{{ pagename }}{{ page_source_suffix }}">
{{ _('View page source') }}
</a>
</p>
{%- elif has_source and sourcename %}
<p>
<a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">
{{ _('View page source') }}
</a>
</p>
{%- endif %}
{%- endif %}
{% endblock %}