Commit ea0d0d3c authored by brospars's avatar brospars

Fix index path

parent 6431308a
......@@ -6,7 +6,7 @@ pages:
- for file in $(find -name "*.md") $(find -name "*.org"); do
bin/pandoc_fixer.pl ${file};
echo "Creating" public/`dirname ${file}`;
echo "<a style='display:block;' href='${file%.*}.html'>${file%.*}.html</a>" >> index.html;
echo "<a style='display:block;' href='${file%.*}.html'>${file%.*}.html</a>" >> public/index.html;
mkdir -p public/`dirname ${file}`;
mv ${file%.*}.html public/`dirname ${file}`/;
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment