| ▲ | azangru 12 hours ago | |||||||
Plain html has two things going against it. First, it doesn't have any provisions for code reuse. So, if you have multiple pages that use the same header, same footer, or same navigation menu, your options are either to copy-paste it (gross), or to build the final html out of smaller pieces, at which point you've reinvented either a static site generator or a web server. Second, if you write long stretches of text, the html markup can get in the way, as opposed to unobtrusiveness of something like markdown. | ||||||||
| ▲ | pousada 11 hours ago | parent | next [-] | |||||||
Yea I think I’ll write my own static generator that just combines 3 templates for header/body/footer and converts markdown from the body. Should be fun project. I’m tired of the constant update pressure from existing solutions and I only need something dead simple. | ||||||||
| ▲ | H1Supreme 11 hours ago | parent | prev | next [-] | |||||||
> at which point you've reinvented either a static site generator ... It doesn't have to be Astro though. You can build something super simple that just includes the header, footer, and nav. Leaving most of the site as plain HTML. | ||||||||
| ||||||||
| ▲ | pjmlp 8 hours ago | parent | prev [-] | |||||||
Or I don't know, use WebComponents. | ||||||||
| ||||||||