Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Hugo blog theme with giscus comments, Mermaid diagrams, KaTeX math, offline caching, and two themes.
Jughead is a Hugo blog theme that turns Markdown content into a static site with giscus-powered comments, MermaidJS diagrams, KaTeX mathematics, offline caching, and two built-in color themes. Maintained by ananthb and forked from Archie, it targets bloggers and developers who want a lightweight site that loads only the JavaScript a post actually needs.
Jughead is a simple, powerful blog and portfolio theme for the Hugo static site generator. It takes TOML configuration, Markdown posts, and per-post frontmatter as input, and outputs a fully static website that can be deployed to any Hugo-compatible host. The theme ships with two color schemes—ink (a newspaper/OLED look) and earth (rust and slate)—plus an auto light/dark mode that follows the operating system.
mermaid = true in a post's frontmatter; the script is loaded only on those pages.katex in frontmatter, keeping other pages fast.ink (newspaper/OLED) and earth (rust/slate), with manual override for the dark/light mode.featured category and portfolio metadata to highlight projects on the homepage while keeping recent posts on the same page.katex in frontmatter to render LaTeX-style formulas on the page.mermaid to include flowcharts, sequence diagrams, and other Mermaid diagrams directly in Markdown.Install the theme as a Hugo module by adding github.com/ananthb/jughead to the module imports in your hugo.toml, then copy the example hugo.toml from the exampleSite directory. Add custom homepage content via content/_index.md, create posts with hugo new posts/my-first-post.md, and toggle mermaid and katex in frontmatter per post. Featured posts appear on the homepage when you assign them the featured category.
Jughead is open source and free to use. The repository is dual-licensed: MIT for contributions up to January 2026 and GPL 3.0 for later contributions.
Yes, Jughead is completely free and open source. There are no paid tiers; you download the theme from GitHub and use it in any Hugo site.
Add mermaid = true to the frontmatter of the post that needs diagrams. This loads MermaidJS only for that post, so the rest of your site stays lightweight.
Add the featured category to the post's frontmatter categories. Featured posts appear in a dedicated section above the recent-post list.
Jughead ships with two themes: ink for a newspaper-style, OLED-friendly look and earth for a rust/slate palette. You set them in hugo.toml under the params.
Yes, create content/_index.md and write your custom Markdown there. The homepage will show your content above the standard featured and recent post sections.
