Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Simple, minimalistic dark theme for Hugo static site generator with configurable colors and built-in syntax highlighting.
Hugo-dusk is a simple, minimalistic dark theme for the Hugo static site generator, built to turn Markdown content into a responsive blog with configurable colors, syntax highlighting, and social metadata.
Hugo-dusk is a dark-colored theme for Hugo, an open-source static site generator. It takes Hugo content written in Markdown plus a config.toml file as input and outputs a static website with features like responsive design, Chroma-based syntax highlighting, and OpenGraph/Twitter card metadata. The theme is maintained on GitHub by the developer gyorb and is available as a public repository.
static/css/default-dark.css; you can swap the file or change the theme_colors parameter in config.toml.style = "gruvbox" and lists alternative dark styles like monokai, api, fruity, native, and rrt.generate_opengraph_image is enabled (requires opengraph-post-blank.png and opengraph-logo.png in assets).[params.mastodon] block and a Fediverse creator meta tag through [params.meta.fediverse].disqusShortname; Utterances (GitHub-issue-based comments) activates when utterancesRepo is set, with configurable utterancesTheme and utterancesIssueTerm.googleAnalytics config is honored, and the theme includes a custom 404 page.paginate setting controls posts per page, and the navigation menu loads lazily to reduce initial page weight.themes directory, set theme = "hugo-dusk" in config.toml, and start writing Markdown posts.[markup.highlight] block makes it simple to switch.theme_colors to a different file to change the entire site palette.[params.mastodon] to display profile verification on your blog.The theme relies entirely on Hugo's static generation. You configure it through config.toml and optional [params] sections; content lives in Markdown files under content/. When you run Hugo, it renders pages using the theme's templates, applies the selected color stylesheet, and writes a static site you can deploy anywhere.
Yes, the theme is published as a public GitHub repository and does not require payment or registration to download and use.
You need Hugo itself (the static site generator) and a way to clone the repository, such as Git. The theme works with a standard Hugo project structure and uses Hugo's built-in Chroma for syntax highlighting.
Set utterancesRepo to your GitHub repository name, for example yourname/yourrepo. Optionally set utterancesTheme (default is github-dark) and utterancesIssueTerm (default is pathname). Utterances then loads automatically.
Set generate_opengraph_image = true and place two images in your assets directory: opengraph-post-blank.png at 1200x630 pixels and opengraph-logo.png at 400x400 pixels. The theme overlays the site baseURL and the page title onto the blank image for each post.