diff --git a/gen.sh b/gen.sh old mode 100644 new mode 100755 index 181b860..bf763de --- a/gen.sh +++ b/gen.sh @@ -2,4 +2,3 @@ cd content find . -type d -exec mkdir -p ../public/{} \; find ./ -iname "*.md" -type f -exec sh -c 'pandoc "${0}" -f markdown -t html5 --template ../templates/page.html --css index.css -o "../public/$(basename ${0%.md}.html)"' {} \; -pandoc content/index.md -f markdown -t html5 --template templates/page.html --css index.css -o public/blog/index.html diff --git a/public/404.html b/public/404.html deleted file mode 100644 index 10af2fe..0000000 --- a/public/404.html +++ /dev/null @@ -1 +0,0 @@ -Not found diff --git a/public/first-post.html b/public/first-post.html new file mode 100644 index 0000000..7c42339 --- /dev/null +++ b/public/first-post.html @@ -0,0 +1,20 @@ + + +
+ + + + +this is a test
-this is a quote:
-int main()
-{
-return 0;
- }