Skip to content

Tags: unrolled/render

Tags

v1.8.1

Toggle v1.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Select asset templates by the final extension only (#114)

compileTemplatesFromDir takes filepath.Ext(rel), with a comment naming
the case it fixes: a directory called users.tmpl whose files are still
normal templates. compileTemplatesFromAsset never got that fix and
still joins everything after the first dot, so for
users.tmpl/index.tmpl it computes .tmpl/index.tmpl.

No configured extension contains a path separator, so the match below
is vacuously false and the template is silently skipped. The same
happens for any multi-dot name such as a.b.tmpl.

Use filepath.Ext here too, so both loaders select the same files and
produce the same template names.

v.1.8.0

Toggle v.1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: updating repo (#112)

v1.7.0

Toggle v1.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: golangci cleanup (#107)

v1.6.0

Toggle v1.6.0's commit message
Adding ability to set html/template options

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Escape html json (#99)

* use builtin escapehtml for json

* go mod update

* tweak github runner versions

v1.4.1

Toggle v1.4.1's commit message
Fix goconst issue, bumped test matrix