Skip to content

christianspecht/blog

Repository files navigation

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.


Important rules

  • 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" >}})
  • 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


How to deploy

Via GitHub Actions (more on this here and here)

  • Pushing to master auto-deploys to https://christianspecht.de CI badge
  • Pushing to preview auto-deploys to https://preview.christianspecht.de CI badge

Local build (on Windows)

Via hugo-server.bat / hugo-server-reset.bat - expects a local Hugo installation (whose version number should match the hugo-version used here)

About

The source code of my site/blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published