mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-23 00:56:45 +01:00
16f752125f
* Update tplcontext.go Add {{ render "/path/to/file.ext" $data }} via funcRender * Update tplcontext.go * Refactor funcInclude, add funcImport to enable {{block}} and {{template}} * Fix funcImport return of nil showing up in html * Update godocs for and * Add tests for funcInclude * Add tests for funcImport * os.RemoveAll -> os.Remove for TestFuncInclude and TestFuncImport |
||
---|---|---|
.. | ||
caddyfile.go | ||
frontmatter.go | ||
frontmatter_fuzz.go | ||
templates.go | ||
tplcontext.go | ||
tplcontext_test.go |