forked from dungeonchurch/follow
Linktree-style site with Hugo
https://follow.bradwenner.digital
- JavaScript 97.2%
- CSS 2.8%
|
All checks were successful
Build and Push to Pages Branch / build (push) Successful in 25s
|
||
|---|---|---|
| .forgejo/workflows | ||
| assets | ||
| content | ||
| static | ||
| themes | ||
| .gitignore | ||
| .gitmodules | ||
| config.toml | ||
| README.md | ||
Brad Wenner Digital Links
Linktree style page with Hugo Lynx theme.
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 digitech-links.static.brads.house for testing
Custom Links
Add SVG icon to assets/icons then add to config.toml:
links = [
{ customname = { href = "/contact.vcf", text = "Contact", icon = "address-card", target = "_self" } }
]
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