From 37b9063186398e5794c4229045899a3310be6f0e Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 4 Apr 2022 19:13:07 -0700 Subject: [PATCH] Semantics: TOC and post-list
    Order is significant for the ToC and post list so make them ordered. I opted to make post-lists a reversed list, so I don't end up having every post change its number every time I post. --- config.toml | 2 +- layouts/partials/posts.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index bc10565..1eaabc5 100644 --- a/config.toml +++ b/config.toml @@ -68,7 +68,7 @@ posts = "/:year/:month/:day/:filename" unsafe = true [markup.tableOfContents] -ordered = false +ordered = true endLevel = 2 # lifted from https://git.sr.ht/~sircmpwn/drewdevault.com diff --git a/layouts/partials/posts.html b/layouts/partials/posts.html index 80d4e71..20844a3 100644 --- a/layouts/partials/posts.html +++ b/layouts/partials/posts.html @@ -4,8 +4,9 @@ {{ else -}}

    Posts

    {{ end -}} +

    I edit some of these posts quite often; some are updated indefinitely. Check the "updated" timestamps.

    Timestamp format: YYYY-MM-DD, as per RFC 3339 and ISO 8601

    -