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 @@ - The Monospace Web @@ -18,11 +17,11 @@ A minimalist design exploration Version - v0.1.3 + v0.1.5 Updated - + Author diff --git a/package.json b/package.json index 412ba03..6552c68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@owickstrom/the-monospace-web", - "version": "0.1.3", + "version": "0.1.5", "description": " A minimalist design exploration", "main": "src/index.css", "scripts": { @@ -21,8 +21,9 @@ "homepage": "https://github.com/owickstrom/the-monospace-web#readme", "files": [ - "index.css", - "index.js", + "src/index.css", + "src/reset.css", + "src/index.js", "LICENSE", "README.md" ]