Skip to content

Commit 15ed72b

Browse files
committed
Remove unneeded escapes in page.html
1 parent 60b4965 commit 15ed72b

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

pep_sphinx_extensions/pep_theme/templates/page.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
<!DOCTYPE html>
33
<html lang="en-GB">
44
<head>
5-
<meta charset="{{ encoding }}" />
5+
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>{{ title|striptags|e + " | "|safe + docstitle|e }}</title>
7+
<title>{{ title + " | "|safe + docstitle }}</title>
88
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
99
<link rel="stylesheet" href="{{ pathto('_static/style.css', resource=True) }}" type="text/css" />
1010
<link rel="stylesheet" href="{{ pathto('_static/mq.css', resource=True) }}" type="text/css" />
1111
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', resource=True) }}" type="text/css" />
12-
<link rel="shortcut icon" href="{{ pathto('_static/py.png', resource=True)|e }}"/>
12+
<link rel="shortcut icon" href="{{ pathto('_static/py.png', resource=True) }}"/>
1313
</head>
1414
<body>
1515
<section>
1616
<header>
1717
<h1>Python Enhancement Proposals</h1>
1818
<ul class="breadcrumbs">
19-
<li><a href="{{ theme_root_url }}" title="The Python Programming Language">Python</a> &raquo; </li>
19+
<li><a href="https://www.python.org/" title="The Python Programming Language">Python</a> &raquo; </li>
2020
<li><a href="{{ pathto("pep-0000") }}">PEP Index</a> &raquo; </li>
2121
<li>{{ title }}</li>
2222
</ul>

pep_sphinx_extensions/pep_theme/theme.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@
22
# Theme options
33
inherit = none
44
pygments_style = tango
5-
6-
[options]
7-
# for breadcrumbs in page.html
8-
root_url = https://www.python.org/

0 commit comments

Comments
 (0)