Onze · A minimal Eleventy blog template

Themes and Dark Mode

Onze includes color themes inherited from Lanyon and automatic dark mode support.

Color Themes

To change the color theme, set the theme field in _data/site.json:

{
  "theme": "theme-base-08"
}

This applies the theme class to the <body> element, changing the sidebar and link colors.

Available themes

Class Color
(empty) Default (dark sidebar)
theme-base-08 Red
theme-base-09 Orange
theme-base-0a Yellow
theme-base-0b Green
theme-base-0c Cyan
theme-base-0d Blue
theme-base-0e Magenta
theme-base-0f Brown

Leave the theme field empty for the default dark sidebar.

Dark Mode

Dark mode is enabled by default and activates automatically based on the user's system preference (prefers-color-scheme: dark

Read more →

SEO Out of the Box

Onze comes with SEO essentials built in. No plugins or extra configuration needed.

What's included

  • Meta description — Automatically generated from the post content (first 30 words). You can override it by adding description to the front matter.
  • Open Graph tags — Title, description, URL, type, and image for social sharing (Facebook, LinkedIn, WhatsApp).
  • Twitter Cards — Proper card markup for Twitter/X.
  • Canonical URL — Prevents duplicate content issues.
  • Sitemap — Automatically generated at /sitemap.xml with all pages.
  • robots.txt — Allows all crawlers and points to the sitemap.
  • RSS feed — Atom feed at /feed.xml with full post content.

Custom …

Read more →