On Thu, 10 Mar 2022 22:39:34 +0100
Christian Britz <cbr...@t-online.de> wrote:

> Sure, I think I was not precise in my posting. I am willing to add
> something dynamic, and I was not sure if Apache and nginx support the
> same toolkits.
> 
> You and others brought in several static content generators, I will
> consider that option too.

I believe Apache and nginx both have fairly robust support for popular
server-side languages like PHP, so many toolkits will work happily on
top of either one.

That said, you did mention "as secure as possible" in your initial
request, and obviously no other option comes anywhere near static html
pages in terms of security.

Count me as another voice in favour of a static site generator. In
particular, I've been playing around with Hugo, which won me over
largely by virtue of using Markdown as its input format. With all
respect to LaTeX (sorry Russell!), it's a staggeringly complex
language with a steep learning curve. If you want a markup language
that supports every typographical feature ever invented, you can't beat
LaTeX. For basic web content with links, emphasis, and the occasional
bulleted list, Markdown is enough tool for the job, and has the
advantages of simplicity and vastly greater human-readability. I don't
know about you, but I don't need a 747 to get to the corner store.

Site generators like Hugo automatically generate nav menus, TOCs, and
similar, so you get a lot of the convenience features of a blogging
platform... just without the platform. If you use git, you can make a
relatively uncomplicated, entirely self-hosted deploy pipeline that
updates the site automatically whenever you make a commit to the
website's git repo, as shown here:

https://www.digitalocean.com/community/tutorials/how-to-deploy-a-hugo-site-to-production-with-git-hooks-on-ubuntu-14-04

And since the content is all plain Markdown files stored in a sensible
directory structure on disk, it's very portable in case you want to
move to some other platform later.

There is definitely a bit of a learning curve with Hugo, though if you
start with a pre-built "theme", it's not overly hard to get a site up
and running now and delve into all the customizable details later.

Cheers!
 -Chris

Reply via email to