Infra: remove two of the five instances of title at top of pages (#2532)

* Infra: remove one of the four instances of title at top of pages

* Infra: remove another of the five instances of title at top of pages

* Infra: but keep PEP number in the breadcrumbs
This commit is contained in:
Hugo van Kemenade 2022-04-19 10:28:45 +03:00 committed by GitHub
parent 5949604187
commit 53d6d5987b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -309,9 +309,6 @@ dl.footnote > dd {
#pep-sidebar ul a {
text-decoration: none;
}
#toc-title {
font-weight: bold;
}
#source {
padding-bottom: 2rem;
font-weight: bold;

View File

@ -24,7 +24,7 @@
<ul class="breadcrumbs">
<li><a href="https://www.python.org/" title="The Python Programming Language">Python</a> &raquo; </li>
<li><a href="{{ pathto("pep-0000") }}">PEP Index</a> &raquo; </li>
<li>{{ title }}</li>
<li>{{ title.split("")[0].strip() }}</li>
</ul>
<button aria-label="Toggle dark mode" onClick="toggleColourScheme()"></button>
</header>
@ -33,7 +33,6 @@
</article>
<nav id="pep-sidebar">
<h2>Contents</h2>
<p id="toc-title">{{ title }}</p>
{{ toc }}
<br />
{%- if not sourcename.startswith("pep-0000") %}