Getting Started with Hugo

This post covers how this site was set up, as a reference for future me. Stack Generator: Hugo — fast static site generator Theme: PaperMod — clean, light/dark mode Hosting: GitHub Pages Domain: jeroen3.nl CI/CD: GitHub Actions — builds and deploys on every push to main Writing a new post Create a new file under content/posts/ with a .md extension. Add front matter at the top (see example below). Write content in Markdown. Commit and push — GitHub Actions will build and deploy automatically. --- title: "My Post Title" date: 2024-03-15 draft: false tags: ["tag1", "tag2"] description: "Short description shown in post listings." --- Post content goes here. Dark mode The site defaults to dark mode. Visitors can toggle between dark and light using the button in the header.

March 15, 2024 · 1 min · Jeroen