diff --git a/Makefile b/Makefile index ea9885f..97f7155 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +VERSION=$(shell jq -r .version package.json) all: index.html @@ -5,6 +6,6 @@ clean: rm -f index.html index.html: index.md template.html Makefile - pandoc --toc -s --css reset.css --css index.css -i $< -o $@ --template=template.html + pandoc --toc -s --css reset.css --css index.css -Vversion=v$(VERSION) -i $< -o $@ --template=template.html .PHONY: all clean diff --git a/index.html b/index.html index e07d84e..8d922ce 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@ A minimalist design exploration
All right, but is this even a good idea? It’s a technical and -creative challenge and I like the aesthetic. If you’d like to use it, +creative challenge and I like the aestethic. If you’d like to use it, feel free to fork or copy the bits you need, respecting the license. I might update it over time with improvements and support for more standard elements.
@@ -203,10 +203,11 @@ Save name +And radio buttons:
Add the grid class to a container to divide up the
diff --git a/index.md b/index.md
index 5322e7e..cbebdc5 100644
--- a/index.md
+++ b/index.md
@@ -6,7 +6,6 @@ author-url: "https://wickstrom.tech"
date: 2024-08-26
lang: en
toc-title: Contents
-version: v0.1.2
---
## Introduction
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..96e2512
--- /dev/null
+++ b/package.json
@@ -0,0 +1,22 @@
+{
+ "name": "@owickstrom/the-monospace-web",
+ "version": "0.1.2",
+ "description": " A minimalist design exploration",
+ "main": "index.css",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+ssh://git@github.com/owickstrom/the-monospace-web.git"
+ },
+ "keywords": [
+ "css"
+ ],
+ "author": "Oskar Wickström",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/owickstrom/the-monospace-web/issues"
+ },
+ "homepage": "https://github.com/owickstrom/the-monospace-web#readme"
+}