Hello, World
| meta | 224 words
TAGS: meta, example
Welcome! This is an example post from the plaintext 11ty theme starter. Delete it (and formatting-demo.md) and write your own.
How Posts Work
Every file in src/posts/ is a post. Front matter only needs a title, date, tags, and summary. The slug and word count are computed automatically:
---
title: My First Post # -> permalink: /my-first-post/
date: 2026-01-01
tags: [meta, example]
summary: One line of text. # -> shown under the title in listings
---
Post body here, in Markdown.
- The URL slug comes from
title, via Eleventy'sslugifyfilter. - The word count under the title is computed from the post body.
- Use
date: YYYY-MM-DD(no time) unless you need to control ordering between two posts on the same day.- You can also set
displayDate: YYYY-MM-DDexplicitly alongside a fulldate.
- You can also set
What to edit
Customie this site using the theme.config.js file in the repo root. That's where you can change the site name, URL, author, intro line, nav links, footer text, and how many posts show on the home page and in the feed, etc.
src/pages/about.md and src/pages/colophon.md are plain pages, edit them freely or delete them and remove the corresponding entries from theme.config.js's nav array. Any .md/.njk file you add to src/pages/ becomes a page at sitename.com/<filename>/ automatically.
That's it.