caddy/modules/caddyhttp/templates
Matt Holt 2f7ceb5774 templates: Offically make templates extensible (#5939)
* templates: Offically make templates extensible

This supercedes #4757 (and #4568) by making template extensions
configurable.

The previous implementation was never documented AFAIK and had only
1 consumer, which I'll notify as a courtesy.

* templates: Add 'maybe' function for optional components

* Try to fix lint error
2023-12-07 13:26:21 -07:00
..
caddyfile.go templates: Offically make templates extensible (#5939) 2023-12-07 13:26:21 -07:00
frontmatter.go chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
frontmatter_fuzz.go core: Windows service integration (#4790) 2022-07-29 14:06:54 -06:00
templates.go templates: Offically make templates extensible (#5939) 2023-12-07 13:26:21 -07:00
tplcontext.go templates: Offically make templates extensible (#5939) 2023-12-07 13:26:21 -07:00
tplcontext_test.go chore: remove refs of deprecated io/ioutil (#5576) 2023-06-16 21:27:57 -06:00