News for hackers. Stuff that matters.
Re:Always Own Your Platform by anderspitman on Monday June 10, 2019 @02:07PM (#20149209)
I took a similar path with my personal site. I did get to the point though where I didn't want to duplicate things like my site banner across all my pages, so I ended up writing a very barebones site generator[0] for compiling handlebars templates.

[0] https://github.com/anderspitman/assg

Re:Always Own Your Platform by okaleniuk on Monday June 10, 2019 @02:31PM (#20149427)
This is sure a way to go too.

I prefer scripts to do monkey job for me instead of templates. They take html as input and produce html as output. It's trivial text processing. But this way every text pattern, even that I would have never thought of beforehand, may become a 'template' in the future.