Content
There are different kinds of content in Cecil:
- Pages
- Pages are the main content of the site, written in Markdown.
- Pages should be organized in a manner that reflects the rendered website.
- Pages can be organized in Sections (root folders) (e.g.: “Blog“, “Project“, etc.).
- Assets
- Assets are manipulated files (i.e.: resized images, compiled Sass, minified scripts, etc.) with the template
asset()function. - Static files
- Static files are copied as is in the built site (e.g.:
static/file.pdf->file.pdf). - Data files
- Data files are custom variables collections, exposed in templates with
site.data.
In this section
Pages and sections Anatomy of a page, file prefix, sections, sub-sections and home page. Front matter Custom and predefined page variables: menu, taxonomy, schedule, redirect, alias, output, etc. Markdown Markdown syntax and extensions: attributes, links, images, table of contents, notes, syntax highlight, etc. Multilingual Translate pages through file name or front matter and link translated pages. Dynamic content Use variables and Twig expressions inside page content.