feat: port changes from taimihud website
Some checks failed
Publish / publish (push) Failing after 24s

This commit is contained in:
Kat Inskip 2025-11-22 10:10:46 -08:00
parent 54c65c0446
commit d04fae2fec
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
3 changed files with 30 additions and 2 deletions

View file

@ -4,6 +4,28 @@
<h1 class="title">
{{ page.title }}
</h1>
{% if page.toc %}
<h2>Table of Contents</h2>
<ul>
{% for h1 in page.toc %}
<li>
<a href="{{ h1.permalink | safe }}">{{ h1.title }}</a>
{% if h1.children %}
<ul>
{% for h2 in h1.children %}
<li>
<a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
<h2>Content</h2>
{% endif %}
<p class="subtitle"><strong><time>Posted: {{ page.date }}</time></strong></p>
{{ page.content | safe }}
{% endblock content %}