Follow Dungeon Church
Hugo ’linktree’ style site using the lynx theme.
Dice rolling animation from https://sarahrosannabusch.github.io/dice/
How it works
- Content: Edit list in
config.toml - Build: Push to
mainbranch triggers Forgejo Actions workflow - Deploy: Workflow builds Hugo site and pushes to
pagesbranch - Local Deploy: Deploys to dungeonchurch-links.static.brads.house for testing
Custom Links
Add SVG icon to assets/icons then add to config.toml:
Styling: The key name (e.g., customname) becomes the CSS class link-customname. Style it in assets/css/custom.css:
.link-customname {
background-color: #your-color !important;
/* your custom styles */
}
Deployment
The local deployment is automatic, the production deployment is manual dispatch.
Secrets required
Build workflow (build-hugo.yml)
DEPLOY_SSH_KEY- SSH key for serverDEPLOY_HOST- Server hostnameDEPLOY_PORT- SSH port (default: 22)DEPLOY_USER- SSH usernameDEPLOY_PATH- Deployment directory on server
Production deployment (deploy-prod.yml)
DEPLOY_PROD_SSH_KEY- Production SSH keyDEPLOY_PROD_HOST- Production hostnameDEPLOY_PROD_PORT- Production SSH port (default: 22)DEPLOY_PROD_USER- Production SSH usernameDEPLOY_PROD_PATH- Production deployment directory