Attributes & options
Blocks by view (scopes)
Every block belongs to a scope — the view it is meant for. The editor shows the fitting blocks per template; structure and content blocks are available everywhere.
| Scope | View | Blocks |
|---|---|---|
| home | home page | hero, features, cta, posts, featured, pagination |
| content | post / page | post-body, post-meta, post-categories, back-link, meta |
| archive | category | page-heading, posts, featured, pagination |
| all | everywhere | structure, content, grid, sidebar, ad, button |
Preview length
The post list generates preview text itself; the excerpt attribute controls the length in words. Without it, a manual excerpt or 30 words applies.
posts excerpt=15 # short teasers posts excerpt=60 # longer preview
Animations & effects
Every block optionally accepts animate (or effect) and fades in gently on scroll.
| Attribute | Values | Effect |
|---|---|---|
animate | fade-up · fade-down · fade-left · fade-right · zoom | reveal effect on scroll |
duration | seconds | animation duration |
delay | seconds | delay |
hero animate=fade-up features animate=zoom duration=0.8 delay=0.1
Progressive enhancement: without JavaScript everything is immediately visible, and with
prefers-reduced-motion effects are disabled automatically.Scrolling & paging
For archive and home pages, the post list’s mode attribute determines how further posts are loaded.
| mode | Behaviour |
|---|---|
paged (default) | classic page navigation |
loadmore | a “Load more” button appends the next page |
infinite | loads automatically on scroll |
posts layout=grid mode=infinite excerpt=20
loadmore/infinite fetch more server-side via /api/feed — identical card markup, no framework required.Meta via header
The invisible meta block overrides the page’s <head> metadata. Only the fields you set are overridden.
| Field | Effect |
|---|---|
title | page title (<title> + Open Graph) |
description | meta description |
image | social image (Open Graph / Twitter) |
canonical | canonical URL |
noindex | flag: do not index the page |
meta title: Custom SEO title description: Short description for Google & social. noindex: true