by _lffv · 6y ago · 0 comments
A site like YouTube doesn't need to work with old stuff like Netscape or IE but if your site primarily focuses on text there's next to no reason there should be Javascript on your site. Sites like danluu's[0] and Michael Norman Williams'[1] may not look the best but they just work.
My website: https://www.instantfloppy.net/ (though admittedly I don't spend as much time on it as I should)
[0]: https://danluu.com/
It's pretty much just a howto and link repository for myself and my friends right now. Still mostly a work in progress. Consider it as an example for look rather than for function.
This sounds like you're making everything more difficult for yourself with little to no gain whatsoever.
With Markup or Markdown, you're still writing that HTML, but you're writing it once and then using automation and data structures to abstract it away. After that's implemented, and it's already been done for you (Hugo, MkDocs, ...), you're just writing the actual content and using simple syntax to format it. Everything else is then handled for you.
I wrote this recently: https://www.thecloud.coach/terraform/understanding-state/
If I had to write that from first principles, as you're doing above, I simply wouldn't have.