Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Allow .tmpl to be used with render and include, even for files with default template names #52

Merged
merged 1 commit into from
Jun 25, 2021

Conversation

brycelelbach
Copy link
Contributor

@brycelelbach brycelelbach commented Jun 5, 2021

Always store templates in the templates map with .tmpl unstripped, allowing render and include to work with files that share the name of the default templates.

Fixes #31.

…allowing

`render` and `include` to work with files that share the name of the default
templates.
@matusnovak matusnovak merged commit 0bfcfaf into matusnovak:master Jun 25, 2021
@brycelelbach brycelelbach deleted the allow-.tmpl-everywhere branch July 2, 2021 01:49
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Including or rendering templates with a non-default name without a ".tmpl" suffix fails
2 participants