
"Most, probably all, static site generators have many more features than I need. I am working on making my own simple static site generator. The only thing I need is simply the ability to insert HTML snippets that are common among all pages. An include or embed feature. For example making the same header and footer for every HTML page. My current design is that when a specified placeholder is found, such as <!--header-->, a corresponding snippet will be generated instead of that text."
"My current design is that when a specified placeholder is found, such as <!--header-->, a corresponding snippet will be generated instead of that text. I am interested in suggestions for other features. I know that is vague but I am not sure how to be specific about what features might be worthwhile. Hopefully someone can use the suggestions even if I do not."
A simple static site generator is being built that primarily needs the ability to insert shared HTML snippets into pages. The design uses placeholders such as <!--header--> which are replaced by corresponding snippet content at build time. The goal is to reuse common elements like headers and footers across multiple HTML pages. Additional features that would be useful while keeping the tool minimal are solicited. Uncertainty about which features would be worthwhile is acknowledged, and ideas that others might find helpful are welcome. Emphasis remains on simplicity and targeted functionality.
Read at SitePoint Forums | Web Development & Design Community
Unable to calculate read time
Collection
[
|
...
]