mirror of
https://github.com/kittywitch/dork.dev.git
synced 2026-02-09 15:19:18 -08:00
feat: port changes from taimihud website
Some checks failed
Publish / publish (push) Failing after 24s
Some checks failed
Publish / publish (push) Failing after 24s
This commit is contained in:
parent
54c65c0446
commit
d04fae2fec
3 changed files with 30 additions and 2 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue