diff --git a/compile.sh b/compile.sh index 25ebe00..abb5806 100755 --- a/compile.sh +++ b/compile.sh @@ -36,3 +36,10 @@ for f in ./html/tags/*.html; do done ./tools/feed_generator.py ./articles/ $URL > ./html/feed.xml + +mkdir -p "./html/markdown/" +for d in ./articles/*/; do + if [ -d "$d" ]; then + cp "$d/page.mmd" "./html/markdown/$(basename $d).mdd" + fi +done