This project contains the webpage of VoteEasy published at https://voteeasy.aiki-it.de
- Theme: https://github.com/halogenica/beautifulhugo
- Example: https://hugo-theme-beautifulhugo.netlify.app/
- CMS/Hugo: https://gohugo.io/getting-started/quick-start/
Get a recent version, such as
$ hugo version
hugo v0.152.2-6abdacad3f3fe944ea42177844469139e81feda6+extended
linux/amd64 BuildDate=2025-10-24T15:31:49Z VendorInfo=snap:0.152.2As the theme is installed as a hugo module you may run into an error message if there's no go available:
Error: command error:
failed to load modules: failed to download modules: failed to execute 'go [mod download]':
failed to execute binary "go" with args [mod download]: go: go.mod requires go >= 1.25.5 (running go 1.25.3)
*errors.errorString
$ brew install go$ sudo snap install go --classic
go 1.25.5 from Canonical✓ installedIn case you installed as hugo module go to the site-subfolder and:
$ hugo mod getor use the convenience helper script in this project's basefolder:
$ ./updateTheme.shDownload starts and you will get a diff such as:
diff --git a/site/go.mod b/site/go.mod
index c21a339..6a0bc4e 100644
--- a/site/go.mod
+++ b/site/go.mod
@@ -2,4 +2,4 @@ module github.com/voteeasy/webpage
go 1.25.3
-require github.com/halogenica/beautifulhugo v0.0.0-20251212183709-c3c3bbb7370d // indirect
+require github.com/halogenica/beautifulhugo v0.0.0-20260112152821-6173aa260601 // indirect
diff --git a/site/go.sum b/site/go.sum
index 5fe239b..cf39796 100644
--- a/site/go.sum
+++ b/site/go.sum
@@ -1,2 +1,4 @@
github.com/halogenica/beautifulhugo v0.0.0-20251212183709-c3c3bbb7370d h1:EsekjF0bASegdBSWPTnc8l0fhsmv/w7jmO2XgEpCItU=
github.com/halogenica/beautifulhugo v0.0.0-20251212183709-c3c3bbb7370d/go.mod h1:4dwHt6njigk+fr9W3Bg+OflL4LKzkjbXAULXvr3mYLs=
+github.com/halogenica/beautifulhugo v0.0.0-20260112152821-6173aa260601 h1:TgaiISjn8jN5jbK40fTvNafaznGDnSpgk+MsR/uqyJk=
+github.com/halogenica/beautifulhugo v0.0.0-20260112152821-6173aa260601/go.mod h1:4dwHt6njigk+fr9W3Bg+OflL4LKzkjbXAULXvr3mYLs=In order to tidy up the go module configuration it may make sense to run:
$ cd site
$ hugo mod tidy
frequently.
cd site
hugo serveor
/run.shto also get Git information into the pages.
Adapt the copyUpstream.sh.example to your needs and run it afterwards.
In case you experience this error message:
Error: error copying static files: open voteeasy/webpage/site/public/img/avatar-icon.png: permission deniedjust rerun hugo serve multiple times until the message disappears.
- Typo in shell script
- Reference icons - new shortcode added
- Shortcode added via PR#837
- Mailto in social sharing
- German translation errors
- Colour code of the icon is
#ed9b57 - GitPageInfo contains wrong date
- Handle singular/plural values in reading time, adapt en default as well
- Add new shortcodes, fix typos and improve exampleSite
- Question: allow ASCII-encoding of mail addresses
- How to add video contents - new shortcode video added
- Shortcodes inspired by halogenica/beautifulhugo#303 and augmented with the help of AI 🤖
- Shortcode added via PR#841
- How to handle deprecation warning of .Site.Data/hugo.Data
- Gallery not rendered anymore after update
- Problems to update to v5 - new module structure and changes in configuration required