Fixed title of blog page.
This commit is contained in:
parent
936dc913a6
commit
cb72a50ca4
1
Makefile
1
Makefile
@ -12,6 +12,7 @@ pages:
|
|||||||
blog:
|
blog:
|
||||||
mkdir -p $(OUTPUT_DIR)/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 templates/page/header.html blog/templates/index.html/header-part.html > blog/templates/index.html/header.html
|
||||||
|
sed -i -e 's/\$${title}/Blog/' blog/templates/index.html/header.html
|
||||||
cat blog/templates/index.html/footer-part.html templates/page/footer.html > blog/templates/index.html/footer.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/
|
find blog/posts -type f -name '*.cfg' -print0 | sort -zr | xargs -0 saait -o $(OUTPUT_DIR)/blog/ -t blog/templates/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user