The HackWimbledon website, built with Hugo and the Ananke theme.
hugo server# Get the latest version (or pin a specific one)
hugo mod get github.com/gohugo-ananke/ananke/v2@latest
# Regenerate the vendor directory
hugo mod vendor
# Check for warnings or errors
hugo buildAfter updating, check whether any of the project's theme overrides in layouts/_partials/ need updating against the new theme version:
for f in site-header site-navigation page-header; do
echo "=== $f ==="
diff layouts/_partials/${f}.html \
_vendor/github.com/gohugo-ananke/ananke/v2/layouts/_partials/${f}.html
doneThe files head-additions.html, site-scripts.html, and tags.html in layouts/_partials/ are project-specific and do not need to be checked against the theme.