View on GitHub

CynthiaWebsiteEngine

Generating websites from simple configuration files, ever-extensible.

Scenes

Scenes allow Cynthia to switch it’s behaviour and themes completely for certain pages. Scenes are defined in the scenes table of the configuration file.

The classic default scene is defined as follows:

[[scenes]]
name = "default"
sitename = "My Cynthia site!"

  [scenes.templates]
  post = "default"
  page = "default"
  postlist = "default"

Scene configuration

Cynthia.toml allows you to define multiple scenes. Each scene is defined as a table ([[]]) in the scenes array ([[scenes]]). Each scene has the following fields: