Hugo Stuff

Install

Make sure you install add-ons

Create a new site with yaml format

Modified from here

  1. Create directory Structure

    hugo new site --format=yaml foldername
    cd foldername
    
  2. Initialize git repository and add theme

    Might I suggest using this forked version of the “liva” theme? It has some nice enhancements

    git init
    git submodule add https://github.com/danb0b/external_liva-hugo.git themes/liva-hugo
    # or
    git submodule add https://github.com/danb0b/website_hugo_framework.git themes/website_hugo_framework
    # or 
    git submodule add https://github.com/dillonzq/LoveIt.git themes/LoveIt
    
  3. Add theme to config.yaml

    echo theme: \"liva-hugo\" >> config.yaml
    # or 
    echo theme: \"website_hugo_framework\" >> config.yaml
    
  4. Customize config.yaml

  5. Run server for testing

    Production:

    hugo server
    

    With Drafts:

    hugo server -D
    

1 Build Pages

Production:

```bash
hugo
```

With drafts:

```bash
hugo -D
```

General

Essential Add-ons

JSON

Using with Github Actions

Themes and Examples

Documentation themes

Ones I didn’t like as much

Good one:

Google Fonts helper

https://gwfh.mranftl.com/fonts/