diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..a48cf0de --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..ce893cd2 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +output : all + +public: + mkdir public + +public/static: static + cp -r static public/ + +public/%.html : %.md + @cp start.html $@ + @cat $< | sed 's#.md)#.html)#g' | pandoc -f markdown -t html5 -o- >> $@ + @cat end.html >> $@ + +HTML := $(patsubst %.md,public/%.html,$(wildcard *.md)) + +all : public $(HTML) public/static + +test: + echo $(HTML) + +clean : + rm -rf public diff --git a/end.html b/end.html new file mode 100644 index 00000000..9068f901 --- /dev/null +++ b/end.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/start.html b/start.html new file mode 100644 index 00000000..914cbcc9 --- /dev/null +++ b/start.html @@ -0,0 +1,16 @@ + + + + + + + + Decentrala + + +
+
+

DECENTRALA

+
+
+