First Post

Let’s try to write down some ideas using this very fast static site generator hugo.

Hugo set up is really easy:

  1. 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/

  2. Create new site

    hugo new site your-static-site-name.com
    1. 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
  3. To create new post run

    hugo new posts/post_name.md
    1. 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


Hugo

118 Words

2018-12-28 01:02 +0000

comments powered by Disqus