Skip to content
Sebastian Kolind Sørensen edited this page Jan 22, 2021 · 2 revisions

Pages in Volcano are written in Markdown and placed in the site/pages directory.

The name of the file

The filename of your page equals the URL it can be accessed at. For example, a file called my-fist-page.md will be accessible at http://my-website.com/my-first-page.

That also means that the filename should be all lowercase with - instead of spaces.

Metadata

In Volcano you can specify metadata of a Page in the form of comments put like this:

<!--
* Title: My first page
* Description: This is the description
* Written: 01/01/20 10:32:49
-->

# This is my first page

It is written in Markdown and served by Volcano🎉

Metadata can later be printed out in a theme via the getMeta(string $type) method on the Volcano class.

Clone this wiki locally