Dream is a Hugo theme. I build it for my blog.
Dream displays posts in a masonry layout and has a flippable About page. It supports light and dark mode out of the box.
For a single-column layout focused on reading and writing, use Zen mode.
Use Hugo Extended. Follow the Quick Start to install Dream in your site and create your first post.
Set theme = "dream" in your site's hugo.toml when you install the theme under themes/dream.
Use hugo.example.toml as the configuration reference.
The documentation covers About pages, search, comments, customization, and other options.
Dream includes prebuilt CSS and JavaScript. You need Node.js and pnpm only to rebuild theme assets or work on the documentation site.
- My blog and its source code
- A demo of Zen mode
Use Node.js 24 and pnpm. The root theme package and the docs/ package have separate dependencies and lockfiles.
Reuse your existing shared dependency caches.
Run these commands from the repository root:
pnpm install --frozen-lockfile
pnpm run buildEdit src/input.css for styles and src/js/ for browser behavior.
The build writes tracked output to assets/css/output.css and assets/js/.
Include the generated files with source changes.
Template changes that affect Tailwind or daisyUI classes also need a CSS rebuild.
To rebuild only one asset type, use pnpm run css or pnpm run js.
To rebuild assets as you edit, run:
pnpm run watchUse a separate Hugo site with content and configure it to load this checkout as its theme. This repository is not a standalone blog, and the documentation site does not preview Hugo templates. See the Quick Start for site setup.
From the Hugo site directory, run:
hugo server -DThe -D flag includes draft posts. Keep the asset watcher running when you edit theme styles or JavaScript.
Use the pnpm version declared in docs/package.json.
From the repository root, run:
cd docs
pnpm install --frozen-lockfile
pnpm run devEdit user guides in docs/content/.
Run pnpm run build from docs/ to build the static documentation site in docs/out/.
See Hosting & Deployment.
Hugo Theme Dream is licensed under the MIT License.
Author: g1eny0ung.

