static portion of my personal webzone (github mirror)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content
layouts
static
.gitignore
README.md
config.toml

README.md

My Hugo Website

This is the statically-generated portion of my website, written using Hugo.

Getting Started

After cloning the repository and installing hugo, run hugo to generate the site, and hugo serve to run a temporary HTTP server at http://localhost:1313/. (Pages served by the latter auto-refresh while you're working; it's super convenient)

Tricks

Atomically re-generating the site when pushing to the repo

When I push to a repository on the server hosting my site, it re-generates automatically! I wrote a blog post with more details.

Including recent git commits

The homepage includes recent commits I've made using content generated by a quick C program I wrote named gustave (github, cgit). Using a similar strategy as above, whenever I push to any of my repositories, a git post-receive hook runs, running gustave and then hugo to re-generate the site.

See my blog post for more information.