Closed sc0ttj closed 5 years ago
Create
./templates/site_meta.html ./templates/site_header.html ./templates/post_header.html ./templates/post_body.html ./templates/post_prev_next.html ./templates/post_footer.html ./templates/site_footer.html ... etc
Containing stuff like:
site_footer.html:
site_footer.html
<div class="footer"> $blog_title </div>
...then just cat the HTML into vars in the various create_page funcs..
cat
create_page
for mustache, see https://github.com/jwerle/mush
See branch https://github.com/sc0ttj/mdsh/tree/mustache-templating-1
Create
Containing stuff like:
site_footer.html
:...then just
cat
the HTML into vars in the variouscreate_page
funcs..for mustache, see https://github.com/jwerle/mush