diff --git a/Makefile b/Makefile index 13913f8..51b0cd9 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,20 @@ -all: root/index.html +.PHONY: all pages run clean -docs/index.html: root/index/index.md +all: root pages + +pages: root/index.html root/images + +root/%.html: src/pages/%.md root pandoc $< -f markdown -s -t html -o $@ +root/images: root + cp -r src/pages/images root/images + +root: + mkdir root + run: python3 -m http.server -d root clean: - rm -f root/index.html + rm -rf root diff --git a/root/images/favicon.ico b/root/images/favicon.ico new file mode 100644 index 0000000..959d8b4 Binary files /dev/null and b/root/images/favicon.ico differ diff --git a/root/index.html b/root/index.html index 4ef4ae6..f3c0f55 100644 --- a/root/index.html +++ b/root/index.html @@ -24,6 +24,7 @@ } .display.math{display: block; text-align: center; margin: 0.5rem auto;} + diff --git a/src/pages/images/favicon.ico b/src/pages/images/favicon.ico new file mode 100644 index 0000000..959d8b4 Binary files /dev/null and b/src/pages/images/favicon.ico differ diff --git a/src/index/index.md b/src/pages/index.md similarity index 98% rename from src/index/index.md rename to src/pages/index.md index 5941474..9e06fd8 100644 --- a/src/index/index.md +++ b/src/pages/index.md @@ -4,6 +4,8 @@ title-meta: HTV04's Website author-meta: HTV04 date-meta: February 18, 2024 document-css: false +header-includes: + --- # [HTV04's Website](https://htv04.com).