Then came PHP and various photo gallery software like Coppermine, and various CMSs (Wordpress, Joomla, Drupal). More functionality and complexity and less security.
what's old is new again
Fast forward to today... Static Site Generation is now a (big) thing.
One popular option is to render MarkDown (or AsciiDoc) content from github. There are many tools to do this: I chose Gatsby because it uses GraphQL + React, and has a large growing community around it.
This follows the general https://jamstack.org/ paradigm
Some benefits are security, speed, and versioned content in Git. And no database unlike a LAMP or MEAN stack.
Netlify is used to
Github offers GitHub Pages.
In addition to supporting regular HTML content, GitHub Pages support Jekyll static site generator.