4 ms·
> it's super easy when your page doesn't have even a header and/or a footer. It's not that hard even with. My stack consists of HTML/CSS, and a small program
by Shared404 6y ago
> it's super easy when your page doesn't have even a header and/or a footer.
It's not that hard even with.
My stack consists of HTML/CSS, and a small program to stitch headers and footers onto documents generated with markdown.
If anyone would like to see it, it should be in the Sourcehut page linked in my profile. The program is a hacky (but functional) piece of garbage however.
E: Spelling
- scooble 6y agoI did this. Had a header template, a footer template and a bunch of pages. My build script was basically ‘for page in pages cat header page footer > ouput’. Worked fine for its purpose (which was limited in scope).
- Shared404 6y agoThat's just about what mine does as well, except pages will inherit headers above them in the directory structure, so I could make the top bar pretty without JS.