zacharyvoase / markdoc

A lightweight Markdown-based wiki system. Current status: abandoned.
http://markdoc.org/
The Unlicense
347 stars 74 forks source link

Multiple templates #30

Open espencer opened 10 years ago

espencer commented 10 years ago

Allows to define different templates using regexps. The default template is used in case no matching regexp is found.

Example configuration:

# Custom templates
custom-templates:
   -
     regexps: ["about.md", "tips/.*" ]
     template: "other-template.html"
   -
     regexps: ["index.md" ]
     template: "index-template.html"