now it should be working, special thanks to anthonix :D

This commit is contained in:
Jus de Patate_ 2019-12-04 09:57:38 -07:00
parent 613170640f
commit 9a42755a4e
1 changed files with 2 additions and 2 deletions

4
mkhtml
View File

@ -51,9 +51,9 @@ cd $PAGESDIR && find . -type f -print0 | while IFS= read -r -d $'\0' file; do
touch $newloc 2>/dev/null
echo "Building $file"
echo "<!-- Built with mkhtml (https://tildegit.org/jusdepatate/mkhtml) -->" > "$newloc"
cat "$PARTSDIR/header.html" >> "$newloc"
cat "$PAGESDIR$filename" >> "$newloc"
cat "$PARTSDIR/footer.html" >> "$newloc"
cat "$PAGESDIR$filename" >> "$newloc"
cat "$PARTSDIR/header.html" >> "$newloc"
# build file using PARTS and PAGE
done