HugoBlog

hugo-notebook — Hugo Blog Template

By its-ammu

hugo-notebook is a Hugo blog theme that creates a notebook look with a dotted paper background, margin spine navigation, and highlighter accents, and supports dark mode.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

2 previews
Desktop homepage1 / 2
Desktop captureTop of page

Actual screenshot captured by the server browser.

All pages & views 2

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-02View source

What stands out

A quick read of the recorded project description.

01

Full-page dotted paper background with margin lines and a sticky vertical spine navigation

02

Links and headings show a highlighter smear on hover, and navigation and tags use a sweeping underline

03

Dark mode toggle state is stored in localStorage and applied before painting to avoid flicker, with a configurable default theme

04

Post cards display a summary, reading time, tags, and a curled page corner

05

Uses a system font stack and loads no web fonts; stylesheets are minified and fingerprinted via Hugo Pipes

06

Colors are centralized as CSS variables, defined separately for light and dark themes, making them easy to adjust

Template Details

hugo-notebook is a Hugo theme for blogs whose overall visual style mimics a paper notebook: the entire page uses a dotted paper background, a sticky vertical navigation (margin spine nav) runs along a colored margin line on the left, links and headings show a highlighter smear effect on hover, and navigation and tags use a sweeping underline. The theme includes a dark mode toggle whose state is saved in localStorage and applied before the page is painted to avoid flicker, and it also supports specifying a default theme in the configuration. The homepage includes an introduction card with a subtitle and social icons, and posts are displayed as cards showing a summary, reading time, tags, and a curled page corner. The theme uses a system font stack and does not download web fonts; stylesheets are processed through Hugo Pipes with resources.Get, minify, and fingerprint, so it requires Hugo extended 0.146.0 or newer. The README states that it was built from scratch and has no external JS dependencies except for a small inline script used for the dark mode toggle. For responsiveness, the spine navigation collapses into a top bar on narrow screens. Colors are controlled via CSS variables at the top of assets/css/notebook.css, with the light theme under :root and the dark theme under :root[data-theme="dark"], allowing adjustment of highlight colors, margin line, paper and text colors, vertical rhythm, and dot spacing. Posts are placed under content/posts/, and tags and reading time are automatically displayed on cards and at the top of posts.

HugoBlog

Is it right for your project?

Use Cases

  • Building a personal Hugo blog with a handwritten notebook visual style
  • Blog sites that need dark mode and want to avoid flicker when switching themes
  • Projects that want to uniformly adjust highlight colors, paper, and margin line appearance via CSS variables
  • Blogs read on narrow-screen devices that need navigation to collapse into a top bar

Suitable For

  • Users running Hugo extended 0.146.0 or newer
  • Bloggers who prefer a dotted paper and highlighter look over a generic minimalist style
  • Developers who accept installing the theme as a Hugo Module or Git submodule
  • Blogs that need post cards to show a summary, reading time, and tags

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    Requires Hugo extended 0.146.0 or newer because stylesheets are processed with Hugo Pipes resources.Get, minify, and fingerprint

  2. 2

    Can be installed via Hugo Module (after hugo mod init, configure module.imports and run hugo mod get -u) or Git submodule; the submodule method requires setting theme = "notebook" in the site configuration

  3. 3

    Configure description, author, defaultTheme, ShowReadingTime, DateFormat, favicon, etc. under [params] in hugo.toml; add social icons via [[params.socialIcons]]

  4. 4

    Spine navigation is defined via [[menu.main]]; external links must be marked with params.external = true

  5. 5

    To embed SVG or HTML illustrations in posts, set unsafe = true in [markup.goldmark.renderer]

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version in a public repository under the MIT license; the free scope is the code of that version and does not mean external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution of this version's code are permitted.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur separate charges.
View Original Text Basis

Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
More documented · 83 / 100
Technologies
Hugo
Website type
Blog
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2026-09-16
Screenshot last checked
2026-10-02

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Hugo as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: f2cdbd9c0e3c72128e22dbe94a26b89c291c4ff51dee08f0c1c019bc651ee7f3

2026-10-02T17:20:59.189Z

Source file / repository
# Notebook

A dotted-paper, notebook-feel Hugo theme for blogs. Built from scratch with no
external font or JS dependencies — just one stylesheet and a tiny inline script
for the dark-mode toggle.

![Notebook screenshot](images/screenshot.png)

## Features

- **Dotted-paper background** across the whole page
- **Margin spine navigation** — a sticky vertical nav along a colored margin line
- **Highlighter accents** — links and titles fill with a marker swipe on hover; nav
and tags use a sweeping underline
- **Dark mode** with a toggle, persisted in `localStorage` and applied before paint
(no flash). Honors a configurable default theme.
- **Post cards** with summaries, reading time, tags, and a turned-up page corner
- **System font stack** (matches the OS UI) — no web fonts to download
- Responsive; the spine nav collapses to a top bar on small screens

## Requirements

Hugo **extended** `0.146.0` or newer (the stylesheet is processed with Hugo Pipes:
`resources.Get | minify | fingerprint`).

## Installation

### As a Hugo Module (recommended)

```sh
hugo mod init github.com/you/your-site
```

```toml
# hugo.toml
[module]
  [[module.imports]]
    path = "github.com/its-ammu/hugo-notebook"
```

```sh
hugo mod get -u
```

### As a Git submodule

```sh
git submodule add https://github.com/its-ammu/hugo-notebook.git themes/notebook
```

Then set the theme in your site config:

```toml
theme = "notebook"
```

## Configuration

A minimal `hugo.toml`:

```toml
baseURL = "https://example.com/"
languageCode = "en"
title = "My Notebook"
theme = "notebook"

[params]
  description = "Notes on whatever I'm building."
  author = "Your Name"
  defaultTheme = "light"   # "light" or "dark"
  ShowReadingTime = true
  DateFormat = "January 2, 2006"
  favicon = "favicon.ico"

  # Shown on the home intro card
  [params.profileMode]
    subtitle = "Engineer & writer"

  # Social buttons on the home intro card (icon-only: github, linkedin)
  [[params.socialIcons]]
    name = "github"
    url = "https://github.com/your-handle"
  [[params.socialIcons]]
    name = "linkedin"
    url = "https://www.linkedin.com/in/your-handle/"

# Spine navigation. Mark external links with params.external = true.
[[menu.main]]
  identifier = "posts"
  name = "Posts"
  url = "/posts/"
  weight = 15
[[menu.main]]
  identifier = "tags"
  name = "Tags"
  url = "/tags/"
  weight = 20

[markup.goldmark.renderer]
  unsafe = true   # allow inline SVG/HTML illustrations in posts
```

### Customizing colors

All colors are CSS variables at the top of `assets/css/notebook.css` (light theme in
`:root`, dark theme in `:root[data-theme="dark"]`). The key knobs:

- `--accent` / `--hl` / `--hl-strong` — highlighter color
- `--margin` — the spine / margin line
- `--paper`, `--ink`, `--card` — surfaces and text
- `--rule` (vertical rhythm) and `--dot` (dot-grid spacing)

## Writing posts

Posts live under `content/posts/`. Front matter:

```toml
---
title = "My first post"
date = 2026-01-01
tags = ["hugo", "notebook"]
---
```

Tags and reading time appear automatically on cards and the post header.

## License

[MIT](LICENSE) © Amuthavarsni Rajkumar
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.