Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 553 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 553 Bytes

Every page has:

  • An entry in config/urls.js.

Example:

"ID" : {
    "url" : "/paths/to", // the http path
    "filename" : "file", // the file on disk
    "title" : "My Page title" // the page's title
}
  • An html file (with optional mustache templating)
  • An optional json template file to construct the mustache template object (if this is not specified, only the default template will be used (which is just the title!)

Media is served, can be configured in config/config.js

The json file can be accessed via e.g. /api/path/to