Small fixes.

This commit is contained in:
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) %} {% macro header(size, text) %}
{% append "toc" %} {% append "toc" %}
<a name="{{ text | replace(" ", "-") }}" class="toc-{{ size }}">{{ text }}</a> <a href="#{{ text | replace(" ", "-") }}" class="toc-{{ size }}">{{ text }}</a>
{% endappend %} {% endappend %}
<a name="{{ text | replace(" ", "-") }}"></a>
<{{ size }}> <{{ size }}>
{{ text }} {{ text }}
</{{ size }}> </{{ size }}>

View File

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