Onze · A minimal Eleventy blog template

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 description

Add a description field to your post's front matter to override the automatic excerpt:

---
title: My Post
description: A custom description for search engines and social sharing.
---

Post image

Add an image field to set the Open Graph image for a specific post:

---
title: My Post
image: /public/images/my-post-cover.png
---

If no post image is set, the default image from _data/site.json is used.