static footer

This commit is contained in:
Fabien Freling 2025-01-13 11:26:14 +01:00
parent 45ce87e6b1
commit c47942b451
4 changed files with 4 additions and 12 deletions

View file

@ -1,6 +1,5 @@
&root = .
&tmpl_dir = ./templates
&gen_tmpl_dir = ./build/templates
HTML_TEMPLATE = main.html
@ -10,8 +9,8 @@ HTML_TEMPLATE = main.html
--template=&(tmpl_dir)/$(HTML_TEMPLATE) \
--include-in-header=&(tmpl_dir)/header.html \
--include-before-body=&(tmpl_dir)/nav.html \
--include-after-body=&(tmpl_dir)/footer.html \
--css &(root)/css/style.css \
--include-after-body=&(gen_tmpl_dir)/footer.html \
%f | sed 's|%%webRoot%%|&(root)|g' > %o \
|> %B.html