Implement article indexing in ansi

This commit is contained in:
Never Gude 2026-02-05 19:24:11 +01:00
parent 0cc991a3f2
commit 7d71c4bfda
10 changed files with 94 additions and 42 deletions

36
pandoc/template Normal file
View file

@ -0,0 +1,36 @@
$if(titleblock)$
$titleblock$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
$for(include-before)$
$include-before$
$endfor$
$if(toc)$
$table-of-contents$
$endif$
$body$
$if(articles)$
ARTICLES
$for(articles)$
$if(articles.title)$
$articles.title$$if(articles.filename)$ ($articles.filename$)$endif$
$endif$
$if(articles.summary)$
$articles.summary$
$endif$
$if(articles.author)$ $articles.author$$endif$$if(articles.date)$ - $articles.date$$endif$
$endfor$
$endif$
$for(include-after)$
$include-after$
$endfor$