Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A bare minimum Hugo theme for developing and debugging Hugo sites, showing template debug info without visual clutter.
Bare Min is a minimal Hugo theme for developing and debugging Hugo sites, stripping away all visual clutter so content and template data take center stage.
Bare Min is a Hugo theme component that runs on the Hugo static site generator, distributed via GitHub as github.com/kaushalmodi/hugo-bare-min-theme. It takes a Hugo site's content and renders plain HTML pages with no styling, plus optional debug output from the hugo-debugprint component. The theme was created by Kaushal Modi and is maintained on GitHub, with an example site at hugo-bare-min.netlify.com.
hugo-debugprint partial so you can output any Hugo template variable's full structure directly into the page.config.toml and run hugo mod tidy.intro and footer accept Markdown or HTML and appear on every page.favicon param lets you paste any favicon link tags, such as apple-touch-icon sets.custom_css parameter takes an array of stylesheet paths from your static/ directory.source.url, source.md_dir, and source.org_dir add per-page links to the Markdown or Org source, useful for ox-hugo workflows.Hugo theme developers who want to inspect template variables and layout logic quickly. Authors using ox-hugo (an Emacs Org-mode exporter for Hugo) who need a bare test site that mirrors the official ox-hugo test environment. Site builders who prefer a no-design starting point and want to add their own styling later via the custom_css hook.
debugprint to see exactly what data is available in a given template context.intro and footer text.Installation is module-based: add the module import to your site configuration, then run hugo mod tidy to fetch the theme and its hugo-debugprint dependency. No layout overrides are needed; the theme's partials render pages with no styling. Set any of the Params in config.toml to customize the header/footer text, favicon, or CSS.
Yes. The theme depends on hugo mod commands, so you must have Go installed and Hugo version v0.92.0 or newer (as of the last update) to fetch and build the component.
It's a separate Hugo partial repository that ships with the theme. Calling debugprint in a template dumps the full data structure of any variable to the page, which is invaluable for Hugo theme debugging.
Yes, if you set source.url and source.md_dir or source.org_dir in your site config, each page gets a link to its Markdown or Org source. Note that source.url is mandatory if either of the directory params is set.
