diff options
Diffstat (limited to 'mdhtml')
-rw-r--r-- | mdhtml | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +# ! /bin/sh +rm -rf public/* +cp -R assets/* public/ + +for file in *.md; do + name="${file%.md}" + (cat _header.html; kramdown "$file"; cat _footer.html) > "public/${name}.html" +done + +find public -type f \( -name "*.html" -o -name "*.css" \) -exec gzip -k -f {} \; |