error.html: Shown when Raneto encounters an error or can’t find a page

Remember you will need to restart the app after changing the template.

Public Files

All static files in Raneto (images, CSS, Javascript files etc.) are served from the public folder. This
is so that no one can access any other files in the install. Only files in the public folder are available
to the public.

It’s worth noting that when customising Raneto you should always make your own files rather than customising
the existing Raneto files, so that your changes don’t get lost when you
update Raneto.

Template Variables

Below are a list of template variables available to use in their respective templates:

home.html

config: Holds an array of values from config.js

pages: Structured list of categories and pages (used for navigation)

body_class: Class for the <body> tag

page.html

config: Holds an array of values from config.js

pages: Structured list of categories and pages (used for navigation)

body_class: Class for the <body> tag

meta: Holds an array of values taken from the page meta comment block (e.g. meta.title)

content: The HTML content of the page

last_modified: The formatted date of the time the file was last modified