Skip to main content

Hugo

·146 words·1 min

Hugo
#

hugo logo

Hugo is the tool that I used to build this website. It is a static website generator, that builds a site from markdown files. how to install

I use the blowfish theme.

This build was inspired by the awesome tutorials and videos from Christian Lempa

I do not have Hugo running on my local machine (which is more standard to do) but I created a lightweight hugo virtual where I have hugo installed. I have hugo installed via ansible. I created a hugo role and added the following main.yml in the task folder:

# roles/hugo/tasks/main.yml
---
- name: Install Git
  ansible.builtin.apt:
    name: git
    state: present
    update_cache: true

- name: Remove any existing Hugo installation
  ansible.builtin.apt:
    name: hugo
    state: absent

- name: Install specific Hugo version (v0.137.0)
  ansible.builtin.apt:
    deb: https://github.com/gohugoio/hugo/releases/download/v0.137.0/hugo_extended_0.137.0_linux-amd64.deb

I have pinned the version to a version that is compatible with the blowfish theme.

Daniël Spithout
Author
Daniël Spithout
Learning by doing