ok i'm stupid i solved a pseudo-bug of mytilde

This commit is contained in:
Jus de Patate_ 2019-12-04 12:45:07 -07:00
parent 625e27d185
commit 217105d369
1 changed files with 2 additions and 2 deletions

4
mkhtml
View File

@ -57,9 +57,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/footer.html" >> "$newloc"
cat "$PAGESDIR/$filename" >> "$newloc"
cat "$PARTSDIR/header.html" >> "$newloc"
cat "$PAGESDIR/$filename" >> "$newloc"
cat "$PARTSDIR/footer.html" >> "$newloc"
# build file using PARTS and PAGE
done