PEP 0: Fix 'Page Source (GitHub)' (#2401)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
parent
364616204c
commit
08e37f7c23
|
@ -35,7 +35,9 @@
|
||||||
<p id="toc-title">{{ title }}</p>
|
<p id="toc-title">{{ title }}</p>
|
||||||
{{ toc }}
|
{{ toc }}
|
||||||
<br />
|
<br />
|
||||||
|
{%- if not sourcename.startswith("pep-0000") %}
|
||||||
<a id="source" href="https://github.com/python/peps/blob/main/{{sourcename}}">Page Source (GitHub)</a>
|
<a id="source" href="https://github.com/python/peps/blob/main/{{sourcename}}">Page Source (GitHub)</a>
|
||||||
|
{%- endif %}
|
||||||
</nav>
|
</nav>
|
||||||
</section>
|
</section>
|
||||||
<script src="{{ pathto('_static/colour_scheme.js', resource=True) }}"></script>
|
<script src="{{ pathto('_static/colour_scheme.js', resource=True) }}"></script>
|
||||||
|
|
Loading…
Reference in New Issue