/notebook/hugo-stuff

Hugo Stuff


Install

Make sure you install add-ons

Create a new site with yaml format

Modified from here

  1. Create directory Structure

    bash 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

    ```bash 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

    ```bash echo theme: \"liva-hugo\" >> config.yaml

    or

    echo theme: \"website_hugo_framework\" >> config.yaml ```

  4. Customize config.yaml

  5. Run server for testing

    Production:

    bash hugo server

    With Drafts:

    bash 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/

About

I am an engineer and educator, having spent ten years as a professor. My goal is to help you build your knowledge of design and technology, get your hardware working, and propel your startup or small business. Get in touch!