A simple static site generator approach: Splitting HTML with HTML Modules (blog.ohmysmtp.com) 5 points by albertgoeswoof 5y ago ↗ HN
[–] forgotmypw17 5y ago ↗ SSI. [–] albertgoeswoof 5y ago ↗ Assuming this means Server Side Includes, you have a few issues:1. dependency on your host/server for support- ie can you do this on s3? Netlify? Gh pages?2. No way to embed content inside an Include3. No easy way to apply additional transformations, eg html post processingThis method only gives html pages as output, with no runtime deps [–] forgotmypw17 5y ago ↗ SSI is one of the most supported technologies out there, supported by almost every server, almost as much as standard access log format.It is pretty basic, however. Just templating and kicking off scripts. Still helpful as a lowest-common-denominator tech. [–] alok99 5y ago ↗ One word reply, really? That's not even the same as generating a static site.
[–] albertgoeswoof 5y ago ↗ Assuming this means Server Side Includes, you have a few issues:1. dependency on your host/server for support- ie can you do this on s3? Netlify? Gh pages?2. No way to embed content inside an Include3. No easy way to apply additional transformations, eg html post processingThis method only gives html pages as output, with no runtime deps [–] forgotmypw17 5y ago ↗ SSI is one of the most supported technologies out there, supported by almost every server, almost as much as standard access log format.It is pretty basic, however. Just templating and kicking off scripts. Still helpful as a lowest-common-denominator tech.
[–] forgotmypw17 5y ago ↗ SSI is one of the most supported technologies out there, supported by almost every server, almost as much as standard access log format.It is pretty basic, however. Just templating and kicking off scripts. Still helpful as a lowest-common-denominator tech.
4 comments
[ 3.1 ms ] story [ 20.8 ms ] thread1. dependency on your host/server for support- ie can you do this on s3? Netlify? Gh pages?
2. No way to embed content inside an Include
3. No easy way to apply additional transformations, eg html post processing
This method only gives html pages as output, with no runtime deps
It is pretty basic, however. Just templating and kicking off scripts. Still helpful as a lowest-common-denominator tech.