Go to file
Josh Nunn c34bc36693
Updated config to fix some site errors for bing
2023-02-05 16:42:50 +10:30
archetypes Altered all posts to include +0930 time to date 2019-03-22 00:26:56 +10:30
content Updated config to fix some site errors for bing 2023-02-05 16:42:50 +10:30
data/comments Updated the URL of the site. 2023-02-05 11:38:08 +10:30
layouts/shortcodes Updated the URL of the site. 2023-02-05 11:38:08 +10:30
static/titanoglass Updated the URL of the site. 2023-02-05 11:38:08 +10:30
themes Updated config to fix some site errors for bing 2023-02-05 16:42:50 +10:30
.editorconfig Fixed up SF704 2019-03-27 00:25:21 +10:30
.env.example Changes from Docker to Podman for containers. 2023-02-05 11:42:36 +10:30
.gitignore Updated the URL of the site. 2023-02-05 11:38:08 +10:30
.gitmodules Add ooh-er as a git submodule (for learnings) 2021-02-22 20:45:43 +10:30
Containerfile Changes from Docker to Podman for containers. 2023-02-05 11:42:36 +10:30
README.md Updated the URL of the site. 2023-02-05 11:38:08 +10:30
config.yml Updated config to fix some site errors for bing 2023-02-05 16:42:50 +10:30
docker-compose.yml Fixed up my Dockerfile for newer Hugo 2021-04-14 23:45:42 +09:30
hugo Updated config to fix some site errors for bing 2023-02-05 16:42:50 +10:30
parse.php Adding some missing files 2021-02-22 17:55:02 +10:30
staticman.yml Updated the URL of the site. 2023-02-05 11:38:08 +10:30

README.md

The Geekorium

This repo is the source for my personal online journal. It uses Hugo to render a static website at the.geekorium.au.

For the source to the theme, see Ooh-Er.

This repo includes a Dockerfile that builds a local container version of Hugo for building and testing the site.

Many of the Hugo Dockerfiles I found would copy the website source to the container in preparation of serving the files from Docker. In my case I'm happy with my plain HTML to continue being served where it is, but didn't want to lose out on the features you get when you're using Hugo to develop locally - such as running a test server with live reloading.

With the help of the handy "hugo" wrapper shell script, this Dockerfile will fire up Hugo in a container, and serve my local files through a mapped volume without having to have Go or Hugo installed on my machine (only Docker).

I set the hugo script to executable with chmod u+x hugo and I can now run the automatically updating Hugo server with:

./hugo server

hugo by itself is used the build the site, so I pass in a harmless switch like -v (verbose) to build the site without triggering the default --help text.

Finally I use my previous ./deploy script to rsync the files to my host.