Updated new style.

This commit is contained in:
2021-11-16 20:27:33 +01:00
parent c0efe667c9
commit c8ab67b958
10 changed files with 103 additions and 213 deletions

View File

@@ -11,6 +11,8 @@ pages:
blog:
mkdir -p $(OUTPUT_DIR)/blog
cat templates/page/header.html blog/templates/index.html/header-part.html > blog/templates/index.html/header.html
cat blog/templates/index.html/footer-part.html templates/page/footer.html > blog/templates/index.html/footer.html
find blog/posts -type f -name '*.cfg' -print0 | sort -zr | xargs -0 saait -o $(OUTPUT_DIR)/blog/ -t blog/templates/
sync: all
@@ -18,3 +20,5 @@ sync: all
clean:
rm -rf $(OUTPUT_DIR)
rm -f blog/templates/index.html/header.html
rm -f blog/templates/index.html/footer.html