Zum Inhalt springen

Content

Pages & Collections

Creating and organising content.

Pages

Every Markdown file in content/pages/ is automatically available as a page. The filename determines the URL.

Creating a New Page

Create content/pages/my-page.md:

---
title: My Page
excerpt: A short description.
--- Here goes the page content in **Markdown**.

The page is immediately accessible at /my-page.

Collections

Collections are groups of similar content (e.g. blog posts, products). Each collection has its own directory under content/.

Blog Collection

Blog entries are stored in content/blog/:

content/blog/
├── first-post.md
├── second-post.md
└── tutorial-series.md

Frontmatter Fields

Each collection supports specific frontmatter fields:

---
title: My Blog Post
date: 2026-03-01
author: Admin
tags: [tutorial, php]
excerpt: An introduction to atoll-cms.
---

Available Template Variables

The following variables are available in templates:

VariableTypeDescription
page.titlestringPage title
page.contentstringRendered HTML
page.excerptstringShort description
page.urlstringPage URL
page.slugstringURL slug
page.datestringDate (if set)
page.authorstringAuthor
page.tagsarrayTags