all repos — h3rald @ 16a891bf8cae6b1693a352df87e1d9ed4511bd57

The sources of https://h3rald.com

Fixes
Fabio Cevasco h3rald@h3rald.com
Sat, 16 Mar 2024 15:14:00 +0100
commit

16a891bf8cae6b1693a352df87e1d9ed4511bd57

parent

8480ec7b0822bd36b23d844c53d5e2f17583adde

1 files changed, 5 insertions(+), 4 deletions(-)

jump to
M rules.minrules.min

@@ -30,16 +30,17 @@ "articles.html" %path

".html" %ext "ARTICLES" %title "page" %content-type - ARCHIVES dvalues (/code :a /code :b a b >) sort %archives - projects-count %projects-count - articles-count %articles-count - grimoire-count %grimoire-count + ARCHIVES dvalues (/code :a /code :b a b >) sort ; sort articles within each archive ( dup /articles (/timestamp :a /timestamp :b a b >) sort %articles ) map + %archives + projects-count %projects-count + articles-count %articles-count + grimoire-count %grimoire-count ; TODO: why processing twice?? dup "_archives" swap mustache %contents dup "page" swap mustache :page