We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c3393d commit ac9adc3Copy full SHA for ac9adc3
alabaster/layout.html
@@ -51,9 +51,14 @@
51
{% endif %}
52
{%- if show_source and has_source and sourcename %}
53
{% if show_copyright or theme_show_powered_by %}|{% endif %}
54
+ {%- if source_url_prefix %}
55
+ <a href="{{ source_url_prefix }}{{ pagename }}{{ source_suffix }}"
56
+ rel="nofollow">{{ _('Page source') }}</a>
57
+ {%- else %}
58
<a href="{{ pathto('_sources/' + sourcename, true)|e }}"
59
rel="nofollow">{{ _('Page source') }}</a>
60
{%- endif %}
61
+ {%- endif %}
62
</div>
63
64
{% if theme_github_banner|lower != 'false' %}
0 commit comments