Reference
Every setting, front matter field, template name, filter and function Statac has, each in a line or two.
Each of Statac’s names has a line or two here. An editor shows the same words when you point at the name, and the debug panel shows them beside it.
Settings and front matter
- Settings: Each line of
statac.yamlthat Statac reads. - Front matter fields: Each field of a page’s front matter that Statac reads.
Templates
- Names a template is handed: The names a template, a snippet or a file in
snippets/markdown/reads on their own, before any dot. - A page in a template: What a template reads on a page: after
page., or after any other name that stands for a page, such aspost.titleorpage.next.url. - The site in a template: What a template reads on the site, after
site.. - A list in a template: What a template reads on a list: a folder, a tag, a series, or a list a page makes with
posts:oreach:. - A date in a template: What a template reads on a date, such as
page.date.year. - Webmentions in a template: What a template reads on
page.webmentions, and on each mention in it. - A video in a template: What a template reads on the video that
page.youtubeorpage.vimeoreturns. - An image in a template: What a template reads on the image that
page.imagereturns, and on each image frompage.images, a video’sthumbnail, a mention’savatar, andimageinimage.html. - A file in a template: What a template reads on the file that
page.filereturns, and on the video or recording thatpage.videoorpage.audioreturns. - A social card in a template: What a layout reads on
page.card: the card Statac draws for the page, or the social image itsog_imagenames. - A heading in a template: What a template reads on each heading in
page.toc, and in each heading’sheadings. - Search in a template: What a template reads on the search box that
page.search_box()returns, and on the search formsite.search_without_javascriptdescribes. - A search form’s field in a template: What a template reads on each hidden field in
site.search_without_javascript.fields. - A loop in a template: What a template reads on
loopinside aforloop. - Filters: Each filter a template can write after
|, such as{{ page.date | moment }}: Statac’s own, and the template engine’s. - Tests: Each test a template can write after
is, such as{% if page.title is defined %}, or name inselectandreject. - Functions: Each function a template can call by its name, such as
{{ css("site.css") }}: Statac’s own, and the template engine’s.
Something unclear or wrong? Open an issue.