Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A simple, minimalistic Hugo theme for academic and personal websites.
barks is a minimal Hugo theme for academic and personal websites that provides a custom landing page layout, per-page LaTeX via KaTeX, and a broad set of config.toml options — all under an MIT license.
barks is a simple, minimalistic theme for the static site generator Hugo, developed primarily for personal (academic) websites. It takes Hugo markdown content with front matter (including layout, image, hide_title, and math flags) and renders a clean site with a navigation bar, footer, optional landing page, and full customization through the [params] section of config.toml. The theme is authored by Timothy Gebhard, requires the extended version of Hugo because it uses SCSS compilation, and is released on GitHub under MIT license.
layout: landing_page in the _index.md front matter and supply an image URL to create the single-page intro shown in the live demo.author, description, and keywords in [params.head]; these generate <meta> tags in the page head, plus the path to a custom CSS file if you want to override or extend styles.show_navigation and show_footer flags.title_font and body_font; barks loads them automatically.[params.colors] with hex values.name, class, url, and weight to control the tooltip, the icon (from FontAwesome or Academicons), the link target, and the sort order.math: true to any page header to load KaTeX; use $...$ for inline equations and $$...$$ for display math.hide_title: true to front matter to suppress the <h1> heading for pages that don't need it.Add the theme as a git submodule inside your Hugo site's themes directory with git submodule add https://github.com/timothygebhard/barks, set theme = "barks" in config.toml, and ensure you are using the extended version of Hugo. Then configure everything through [params] — no template files need to be edited. For the landing page, add layout: landing_page and an image to _index.md.
Yes. Because barks compiles SCSS, you must install the extended version of Hugo. The standard release will not work with this theme.
Add math: true to the front matter of the specific page or post where you want formulas. Then write inline math with single dollar signs and block math with double dollar signs.
Yes. In config.toml, the [params.colors] section sets theme, background, text, and link colors; [params.typography] lets you pick any Google Font for the title and body. The theme loads the fonts automatically.
Yes. barks is released under the MIT license, so you can use, modify, and distribute it for personal or commercial projects with attribution.
