size logo
[libreplanet-static.git] / markdown-convert.sh
index f4c599399a4c26dcabd5198b972e0edd1c00089a..8947705c12e72050a2eb6ce48ceb4b300552f7bf 100755 (executable)
@@ -1,3 +1,6 @@
 #! /bin/sh
 
-for f in $(find -name '*.mdwn' -type f); do python -m markdown $f > ${f%mdwn}html; done
+for f in $(find -name '*.mdwn' -type f); do
+  python -m markdown $f > ${f%mdwn}html
+  sed -i 's|<p><title>|<title>|g;s|</title></p>|</title>|g' ${f%mdwn}html
+done