Skip to content

Multiple templates#30

Open
espencer wants to merge 5 commits intozacharyvoase:masterfrom
espencer:feature/multi-template
Open

Multiple templates#30
espencer wants to merge 5 commits intozacharyvoase:masterfrom
espencer:feature/multi-template

Conversation

@espencer
Copy link
Copy Markdown

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant