2 ms·
> First, you have to keep track of which documents need the same header/footer (unless all are exactly the same) That should be pretty easy to program into a M
by yellowapple 7y ago
> First, you have to keep track of which documents need the same header/footer (unless all are exactly the same)
That should be pretty easy to program into a Makefile.
> Second, you have to extract the title from the content somehow
Or just "cat headerfront $PAGE/title headerback $PAGE/body footer > $PAGE.html".
Like yeah, there's some upfront complexity, but nowhere near the complexity of manually editing these things on each and every page. Once you have these programmed in and scripted out, you get 90% of the useful stuff a SSG does for you with 10% (at most) of the moving parts.
- john-aj 7y agoThe thing is, I don’t want any generation at all, at least not with my actual HTML pages.
- yellowapple 7y agoOkay, then don't do any generation. That's fine. Nothing wrong with doing things manually if that's really how you like to do it. Personally, I'm lazy, and tend to prefer at least a little bit of automation.