This is the source code of christianspecht.de, built with Hugo.
It's mostly a "regular" Hugo site, but it contains some PHP parts (more details), which is the reason why I'm hosting it on my own webspace instead of Github Pages.
-
Internal links (in Markdown files) to other pages MUST use the
ref
shortcode- Example:
Instead of this:[Imprint](/imprint/)
...use this:[Imprint]({{< ref "/imprint/index.html" >}})
- Example:
-
Hugo can't generate .php pages directly, so the project pages are created as .html files by Hugo, and renamed to .php in the build script
Via GitHub Actions (more on this here and here)
- Pushing to
master
auto-deploys to https://christianspecht.de - Pushing to
preview
auto-deploys tohttps://preview.christianspecht.de
Via hugo-server.bat
/ hugo-server-reset.bat
- expects a local Hugo installation (whose version number should match the hugo-version
used here)