simplify homepage content

This commit is contained in:
Joshua Seigler 2025-05-02 15:44:54 -04:00
parent f2364b3105
commit c83aeb8123

View file

@ -3,7 +3,7 @@ layout: "base.njk"
--- ---
{{ content | safe }} {{ content | safe }}
{%- for name, collection in collections -%} {%- for name, collection in collections -%}
{%- if name not in ["all", "timeline", "pages", "books"] -%} {%- if name in ["posts"] -%}
<h2>{{name | capitalize }}</h2> <h2>{{name | capitalize }}</h2>
<ul> <ul>
{%- for item in collection | reverse -%} {%- for item in collection | reverse -%}