This repo contains the Hugo theme for ChrisWiegman.com.
Your best option for using this theme, if you like the current style, is to fork it or to download the code and copy it into your Hugo themes directory. This will ensure that, as I inevitably change it, you won't be forced to change it to any major new style.
If you fork it, use the Hugo documentation to install your fork via a submodule.
For an example configuration, see hugo.json in the dev directory.
This theme contains a complete development site with some basic content to get you running. You can start this site from your development machine by making sure your local computer has Hugo installed and then running the following:
make devThe site will be available at http://localhost:1313.
This repo uses Playwright for browser tests against the local dev site.
It requires hugo on your PATH.
There's a handy Make target to install and run these tests.
make testdev/: local development site content and configurationlayouts/: Hugo templates and partialsassets/: theme assets (CSS, JS, images)e2e/: Playwright end-to-end tests
Templates in layouts/ are formatted with Prettier using the go-template parser. Use the Prettier VS Code extension (configured in .vscode/settings.json) to avoid breaking Hugo template markup.