diff options
| author | Robert Günzler <r@gnzler.io> | 2024-10-16 15:24:41 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2024-10-16 15:40:15 +0200 |
| commit | 23d862844c4cce0100bedd20a8b521ab9f8f822d (patch) | |
| tree | 42a2ba6299adb6bf322271fe72fc2bcd5cad8723 /makefile | |
| parent | cbba4db4e7f716ba799dc2c65f2df6ddc433c1ac (diff) | |
| download | site-23d862844c4cce0100bedd20a8b521ab9f8f822d.tar.gz | |
use pandoc filter to generate date & toc
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
| -rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile index 5a5e6fd..b36f10b 100644 --- a/makefile +++ b/makefile @@ -8,8 +8,8 @@ SRC := $(htm_SRC) $(md_SRC:%.md=%.htm) DST := site # see https://pandoc.org/MANUAL.html#pandocs-markdown -%.htm: %.md - $(PANDOC) --from=markdown --to=html --output $@ $< +%.htm: %.md front.lua + $(PANDOC) -fmarkdown -thtml5 --lua-filter=front.lua -o $@ $< # generator ZIG ?= zig |