Skip to content

Hugo (Public Homepage)🔗

Pretty URLs + Menu🔗

hugo.toml:

baseURL = "https://endershollow.com/"
theme = "PaperMod"
uglyURLs = false

[permalinks]
  page = "/page/:slug/"

[[menu.main]]
  name = "Docs"
  url  = "/docs/"
  weight = 2
[[menu.main]]
  name = "Request Account"
  url  = "/page/request-account/"
  weight = 3
[[menu.main]]
  name = "Report Bug"
  url  = "/page/report-bug/"
  weight = 4

Slug Mismatch Gotcha (Actual Fix Used)🔗

If a menu link goes nowhere or the address bar changes but content doesn't update (PaperMod instant-nav): - Ensure the page lives at content/page/<name>.md. - In frontmatter: slug: "<name>". - Add [permalinks] page = "/page/:slug/". - Use trailing slashes in links, e.g., /page/request-account/.

Custom Cyan Styling🔗

  • Add CSS at assets/css/extended/material-cyan.css.
  • Load via params.assets.css or place in static/css/ and reference in layouts/partials/extend_head.html.
  • Keep overrides minimal to preserve dark/light toggle.