First Post
Let’s try to write down some ideas using this very fast static site generator hugo.
Hugo set up is really easy:
Download binary for Your OS https://github.com/gohugoio/hugo/releases add it to PATH. More details and other ways to install can be found on https://gohugo.io/getting-started/installing/
Create new site
hugo new site your-static-site-name.com
- Get some theme, I used this theme https://github.com/Track3/hermit.
bash cd your-static-site-name.com git submodule add https://github.com/Track3/hermit.git themes/hermit
- Get some theme, I used this theme https://github.com/Track3/hermit.
To create new post run
hugo new posts/post_name.md
- Optionally:
In order to have comments (discussion) available on site Open account on disqus and add Your web site to get disqusShortname, set it in config.toml. More info on https://gohugo.io/content-management/comments/. If You Want to track visitors set googleAnalytics https://gohugo.io/templates/internal/#configure-google-analytics. My example is in config.toml