Hugo static site generator

Updated 22-Jul-2026

Uses Golang and can play nicely with caddy web server.

Installation and Configuration

Unfortunately apt and standard sources will not provide a recent update of Hugo, so best to download the .deb file from Github (sigh).

Markdown in Hugo

Hugo uses Goldmark which supports some GFM and Markdown Extra syntax (including footnotes).

Getting started

These steps will get a framework together and allow to bring in as a git submodule a theme with example site.

hugo new project quickstart
cd quickstart
git init
git submodule add https://github.com/ngs/hugo-primer-blog themes/hugo-primer-blog
echo "theme = 'hugo-primer-blog'" >> hugo.toml
hugo server

You can then rename quickstart as needed.

If you copy the /themes/hugo-primer-blog/exampleSite into the main directory, you can start editing that down to a reasonable site.

See the Hugo directory structure for more clarity about where things live. Note that for a theme such as /hugo-primer-blog/ there are many dependencies (NPM) which are used.

Other resources

Resources for conversion from WordPress to Hugo

We use cookies only for WordPress functionality, and do not use third-party analytics or tracking.
Accept