-
Notifications
You must be signed in to change notification settings - Fork 2
Pages
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 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.
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.