diff --git a/Makefile b/Makefile index 9caf8c9..1bb2250 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ VERSION=$(shell jq -r .version package.json) +DATE=$(shell date +%F) all: index.html @@ -6,6 +7,6 @@ clean: rm -f index.html index.html: demo/index.md demo/template.html Makefile - pandoc --toc -s --css src/reset.css --css src/index.css -Vversion=v$(VERSION) -i $< -o $@ --template=demo/template.html + pandoc --toc -s --css src/reset.css --css src/index.css -Vversion=v$(VERSION) -Vdate=$(DATE) -i $< -o $@ --template=demo/template.html .PHONY: all clean diff --git a/demo/index.md b/demo/index.md index cbebdc5..13d7021 100644 --- a/demo/index.md +++ b/demo/index.md @@ -3,7 +3,6 @@ title: The Monospace Web subtitle: A minimalist design exploration author: Oskar Wickström author-url: "https://wickstrom.tech" -date: 2024-08-26 lang: en toc-title: Contents --- diff --git a/index.html b/index.html index 7dfa978..123ff6e 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,6 @@ -