add a TOC, more nutrition info stuff, update some styles and templates

This commit is contained in:
Joshua Seigler 2025-06-19 15:54:29 -04:00
parent 863ed9c128
commit a29ee38e0e
18 changed files with 534 additions and 86 deletions

View file

@ -4,11 +4,14 @@ tags: timeline
permalink: about/index.html
title: About
---
{{ content | safe }}
{% for item in collections.timeline | reverse %}
{% if item.data.title !== "About" and not item.data.draft %}
<h3 id="{{item.data.time}}"><a class="header-anchor" href="#{{item.data.time}}" aria-hidden="true"></a>{{ item.data.title | markdown | safe }} <aside>{{item.data.time}}</aside></h3>
<p>{{ item.data.description | markdown | safe }}</p>
{% endif %}
{% endfor %}
<main data-pagefind-body>
{{ content | safe }}
<section>
{% for item in collections.timeline | reverse %}
{% if item.data.title !== "About" and not item.data.draft %}
<h3 id="{{item.data.time}}"><a class="header-anchor" href="#{{item.data.time}}" aria-hidden="true"></a>{{ item.data.title | markdown | safe }} <aside>{{item.data.time}}</aside></h3>
<p>{{ item.data.description | markdown | safe }}</p>
{% endif %}
{% endfor %}
</section>
</main>