Skip to content

Yet another IT blog on Homelabbing, Privacy, Security, Automation, IaC, and my journey in the ever-changing IT landscape.

Notifications You must be signed in to change notification settings

SJW-sys/SJW-sys.github.io

Repository files navigation

Hugo is one of the most popular open-source static site generators written in GO. With a focus on speed and flexibility. I will be using this so I can focus mostly on writing verses designing and maintaining a website from scratch. I tried Github's recommended jekyll, but found it did not suit my needs.

Install on Debian via apt:

sudo apt install hugo

Hugo packages can be installed in various methods to best suit you

Setup With GitHub Pages:

have hugo installed (see above section)

start a new hugo site via command:
    hugo new site USERNAME.github.io

get into files:
    cd USERNAME.github.io

initialize repo:
    git init

Find your theme you want, then go to its repository, typically they will have a "install", some sort of git clone URL . Run that command, ie.
    git submodule add https://github.com/clente/hugo-bearcub themes/hugo-bearcub

Add theme to the hugo toml config file:
    echo 'theme = "hugo-bearcub"' >> hugo.toml

Generate content:
    hugo new content content/blog/test.md

launch hugo locally to test:
    hugo server

Modify hugo.toml config for site via your hugo.toml in /root dir for initial configuration, recommend using example site config as a base for most themes.

Be sure to check your content directory for index files and setup for your web pages.

Push to your github when ready.

Resources:

On AI:

The site is administrated by myself, with code tweaks by me. Check above links for info about Hugo and the theme, 'bear cub' this project is build on. All of the brainstorming and editing is 100% me. I believe there is a line to protect on creative arts being best made by humans for humans.

About

Yet another IT blog on Homelabbing, Privacy, Security, Automation, IaC, and my journey in the ever-changing IT landscape.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages