Salinger Theme
A minimalistic theme for Hugo framework.
Published ~ Updated ~ WebTrending
A static site generator turns Markdown files into a website, and the theme decides everything a visitor actually sees. Salinger is a minimal, mobile-first theme for the Hugo framework that I wrote for an earlier version of this website and then released on its own.

The second major version, from July 2023, is a complete rewrite on Tailwind CSS and DaisyUI. It has light, dark and automatic colour modes, a hamburger menu with a custom icon, Twemoji rendering of emoji, per-page control over which metadata are shown, Google Analytics and SEO tags; the README reports a 100% score on PageSpeed. The theme is added to a Hugo project as a git submodule and configured from hugo.toml, and it was featured at HugoConf 2023.
The name comes from the light-mode home page, whose design was inspired by the cover of the 1961 Einaudi edition of The Catcher in the Rye by J.D. Salinger. Usage instructions are in the GitHub repository and its wiki, and the demo site shows the theme running.
Update (November 2026)
Version 2.2.0 brings the theme up to date with current Hugo releases: it needs Hugo 0.128 or later and has been tested up to 0.170.1. The release moves stylesheet processing to the current Hugo functions, fixes the page head, the keywords meta tag and the theme switcher, updates Tailwind CSS and DaisyUI, and adds step-by-step installation instructions to the README, for both Git submodules and Hugo Modules.
Features
The features I love about this theme are:
- TailwindCSS and DaisyUI framework
- Responsive and mobile-first
- Google Analytics
- Custom visibility of meta
- Dark, Auto and Light Mode
- Hamburger Menu with custom icon
- Twemoji emoji support
- SEO support (100% score on PageSpeed)
- Google Symbols and Font Awesome