Fix stylesheet include path
This commit is contained in:
parent
974cb90933
commit
cdc658891f
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue