Fix stylesheet include path

This commit is contained in:
Hazel Snider 2020-09-08 22:47:54 -04:00
parent 974cb90933
commit cdc658891f
No known key found for this signature in database
GPG Key ID: 09213F100E5E4E67
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{% block title %}Hazelnut{% endblock title %}</title>
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="favicon.png" />
<link rel="stylesheet" href="{{ get_url(path="style.css") }}" />
<link rel="icon" href="{{ get_url(path="favicon.png") }}" />
{% endblock head %}
</head>
<body>

View File

@ -7,12 +7,12 @@
<ul>
{% for h1 in page.toc %}
<li>
<a class="internal" href="{{ h1.permalink | replace(from="/#", to="#") }}">{{ h1.title }}</a>
<a class="internal" href="{{ h1.permalink | safe }}">{{ h1.title }}</a>
{% if h1.children %}
<ul>
{% for h2 in h1.children %}
<li>
<a class="internal" href="{{ h2.permalink | replace(from="/#", to="#") }}">{{ h2.title }}</a>
<a class="internal" href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
</li>
{% endfor %}
</ul>