Example sites
Learn Stati by exploring examples and real-world implementations. Stati provides four starter templates: a minimal one for any kind of site, a complete blog, a complete documentation site, and a complete news site.
Available examples
Blank template
A minimal Stati site demonstrating core concepts:
- Location:
examples/blank/ - Features: A layout with header and footer, a homepage that walks you through the project, and one stylesheet with light and dark themes
- Best for: Getting started, understanding Stati fundamentals


Key Files:
examples/blank/
├── site/
│ ├── index.md # Homepage with front matter
│ └── layout.eta # Main layout template
├── public/
│ ├── styles.css # Light and dark theme from CSS custom properties
│ └── favicon.svg # Site icon
├── stati.config.js # Configuration example
└── package.json # Scripts and dependencies
Start from it:
The scaffolder copies this template into a new project:
npx create-stati my-site
The quick start walks through the prompts and the first edits. To set up a project without the scaffolder, see Manual installation.
Blog template
A complete blog, ready to write in:
- Location:
examples/blog/ - Features: Posts with tags, a page for every tag, a paginated home page, a yearly archive, newer, older and related posts, an RSS feed, a sitemap,
robots.txt, Open Graph and Twitter tags, drafts and a 404 page. The sample posts explain how each part works. - Best for: Starting a personal or team blog, and seeing collections, pagination and generated pages at work


Key Files:
examples/blog/
├── helpers/blog.js # Template helpers for dates
├── site/
│ ├── partials/ # Head, header, footer, post lists, page links, tag links
│ ├── posts/ # One Markdown file per post, the archive and the post layout
│ ├── tags/ # The tags page and [tag].md, which makes a page per tag
│ ├── base.eta # The page around both layouts: head, header and footer
│ ├── layout.eta # Layout for home, archive, tags, about and 404
│ └── *.md # Home, about and 404 pages
├── public/ # Styles, self-hosted font, ornament, sample image
└── stati.config.js # Name, author, header links, feed, sitemap, SEO
Start from it:
npx create-stati my-blog --template=blog
Docs template
A complete documentation site, ready to fill in:
- Location:
examples/docs/ - Features: A sidebar built from folders and front matter
order, search with Ctrl K, an on-page table of contents, previous and next links, breadcrumbs, section overview pages, build-time syntax highlighting with copy buttons, light and dark themes, a mobile drawer, a sitemap,robots.txt, link previews and drafts. The sample pages explain how each part works. - Best for: Documenting a library, CLI, API or product, and seeing how a hook and helpers build site-wide navigation


Key Files:
examples/docs/
├── helpers/docs.js # Sections, sidebar order, pager, breadcrumbs, SEO
├── site/
│ ├── partials/ # Head, header, sidebar, TOC, pager, search, footer, icons
│ ├── getting-started/ # One folder per section, with an index.md
│ ├── base.eta # The page around both layouts: head, header, footer and search
│ ├── layout.eta # Layout for docs pages, section overviews and 404
│ ├── home.eta # Home page layout
│ └── index.md # Home page
├── public/ # Styles, client script, self-hosted font, sample screenshot
└── stati.config.js # Name, header links, search, sitemap, SEO
Start from it:
npx create-stati my-docs --template=docs
News template
A complete news site, ready to publish in:
- Location:
examples/news/ - Features: Sections as folders, each with its own page and RSS feed; a front page ranked by front matter, with a lead story, top stories and a column per section; articles with a standfirst, bylines that link to author pages, published and updated dates, a lead image with caption and credit, reading time and related stories; author and topic pages; a latest-stories stream grouped by day; pagination on every listing; search with / or Ctrl K;
NewsArticlestructured data, Open Graph article tags, a sitemap, a Google News sitemap androbots.txt; light and dark themes and drafts. The sample articles explain how each part works. - Best for: Running a newsroom or magazine with many sections and writers, and seeing
collections.generate, generated pages, several RSS feeds and abeforeAllhook work together


Key Files:
examples/news/
├── helpers/news.js # Front page ranking, bylines, dates, section and author pages,
│ # NewsArticle metadata and feeds
├── site/
│ ├── news/ # One folder of articles per section, the article layout,
│ │ # the latest stream and [section].md, a page per section
│ ├── authors/ # The authors index and [author].md, a page per author
│ ├── tags/ # The topics index and [tag].md, a page per topic
│ ├── partials/ # Nameplate, footer, byline, story teasers, page links, search
│ ├── base.eta # The page around every layout
│ ├── front.eta # The front page
│ ├── listing.eta # Section, author, topic and latest pages
│ └── layout.eta # About, 404 and the indexes
├── public/ # Styles, search script, self-hosted fonts, lead images
└── stati.config.js # Name, sections, authors, feeds, search, sitemap, SEO
Start from it:
npx create-stati my-news --template=news
Learning resources
- Getting started - /getting-started/installation
- Configuration Reference - /configuration/file
- CLI commands - /cli/commands
- Project structure - /getting-started/project-structure
Need help?
- Documentation - Browse the full Stati documentation
- GitHub Issues - Report bugs or request features
- Discussions - Ask questions and share ideas