Static websites with Hugo
The fast open-source static site generator Hugo.
Introduction
Hugo is a fast and flexible open-source static site generator written in the computer language Go. Basically, it’s a simple program to quickly build websites like this. It is static, which means you can not interact with it yourself besides read information. You can’t POST your own stories or comments on this website. It’s less interactive, but it’s much easier to maintain, to update, and it’s very secure. There are also many design themes available (many for free, see the respective licenses) - This site uses the theme called Hugo Future Imperfect Slim. If you are interested, I’m sure you can also learn how to use Hugo via their Getting Started instructions.
To run Hugo locally
- Download and install Hugo
- Create a new site/project on your command line interface (CLI):
hugo new site quickstart
- Add a Theme inside the created “quickstart” folder:
git submodule add https://github.com/pacollins/hugo-future-imperfect-slim.git
- Add the theme to the site configuration:
echo 'theme = "hugo-future-imperfect-slim"' >> config.toml
- Create a new blog post:
hugo new posts/my-first-post.md
- Start a local browser (comes with Hugo):
hugo server -D
- Open http://localhost:1313/ on your browser