Fix stylesheet include path
This commit is contained in:
parent
974cb90933
commit
cdc658891f
|
@ -5,8 +5,8 @@
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>{% block title %}Hazelnut{% endblock title %}</title>
|
<title>{% block title %}Hazelnut{% endblock title %}</title>
|
||||||
<link rel="stylesheet" href="style.css" />
|
<link rel="stylesheet" href="{{ get_url(path="style.css") }}" />
|
||||||
<link rel="icon" href="favicon.png" />
|
<link rel="icon" href="{{ get_url(path="favicon.png") }}" />
|
||||||
{% endblock head %}
|
{% endblock head %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -7,12 +7,12 @@
|
||||||
<ul>
|
<ul>
|
||||||
{% for h1 in page.toc %}
|
{% for h1 in page.toc %}
|
||||||
<li>
|
<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 %}
|
{% if h1.children %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for h2 in h1.children %}
|
{% for h2 in h1.children %}
|
||||||
<li>
|
<li>
|
||||||
<a class="internal" href="{{ h2.permalink | replace(from="/#", to="#") }}">{{ h2.title }}</a>
|
<a class="internal" href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue