Small fixes.

master
BurnyLlama 2021-08-04 23:18:01 +02:00
parent 4b77193a60
commit dd376a22af
2 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
{% macro header(size, text) %}
{% append "toc" %}
<a name="{{ text | replace(" ", "-") }}" class="toc-{{ size }}">{{ text }}</a>
<a href="#{{ text | replace(" ", "-") }}" class="toc-{{ size }}">{{ text }}</a>
{% endappend %}
<a name="{{ text | replace(" ", "-") }}"></a>
<{{ size }}>
{{ text }}
</{{ size }}>

View File

@ -21,7 +21,7 @@
</div>
</div>
{% block body %}{% endblock %}
{% block main %}{% endblock %}
</article>
</body>
</html>