diff --git a/Makefile b/Makefile index 51250d9..2bd708c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -index: pages/index.md styles/index.css +index: mkdir -p build cp styles/index.css build/index.css cp scripts/konami-code.js build/k.js - discount-theme pages/index.md \ - -o build/index.html \ - -t templates/index.theme + cat templates/index-header.theme > build/index.html + cmark --smart < pages/index.md >> build/index.html + cat templates/index-footer.theme >> build/index.html diff --git a/templates/index-footer.theme b/templates/index-footer.theme new file mode 100644 index 0000000..39479c5 --- /dev/null +++ b/templates/index-footer.theme @@ -0,0 +1,4 @@ + + + + diff --git a/templates/index.theme b/templates/index-header.theme similarity index 69% rename from templates/index.theme rename to templates/index-header.theme index 1a3a105..d340303 100644 --- a/templates/index.theme +++ b/templates/index-header.theme @@ -7,8 +7,3 @@
- -
- - -