Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-27 | Minor comment fix | Matthew Holt | |
2020-04-07 | templates: Add env function (closes #3237) | Matthew Holt | |
2020-04-06 | templates: Use text/template; add experimental notice to docs | Matthew Holt | |
Using html/template.HTML like we were doing before caused nested include to be HTML-escaped, which breaks sites. Now we do not escape any of the output; template input is usually trusted, and if it's not, users should employ escaping actions within their templates to keep it safe. The docs already said this. | |||
2020-03-18 | templates: Enable Goldmark's footnote extension (closes #3136) | Matthew Holt | |
Also remove Table extension, since GFM (already enabled) apparently enables strikethrough, table, linkify, and tasklist extensions. https://github.com/yuin/goldmark#built-in-extensions | |||
2019-12-23 | templates: Change functions, add front matter support, better markdown | Matthew Holt | |
2019-10-16 | Minor enhancements/fixes to rewrite directive and template virt req's | Matthew Holt | |
2019-10-15 | caddyhttp: Improve ResponseRecorder to buffer headers | Matthew Holt | |
2019-10-10 | go.mod: Update dependencies | Matthew Holt | |
2019-08-09 | Implement config adapters and beginning of Caddyfile adapter | Matthew Holt | |
Along with several other changes, such as renaming caddyhttp.ServerRoute to caddyhttp.Route, exporting some types that were not exported before, and tweaking the caddytls TLS values to be more consistent. Notably, we also now disable automatic cert management for names which already have a cert (manually) loaded into the cache. These names no longer need to be specified in the "skip_certificates" field of the automatic HTTPS config, because they will be skipped automatically. | |||
2019-07-15 | mod: Use blackfriday's standard v2 module import path | Matthew Holt | |
2019-07-02 | go.mod: Append /v2 to module name; update all import paths | Matthew Holt | |
See https://github.com/golang/go/wiki/Modules#semantic-import-versioning | |||
2019-06-30 | Add license | Matthew Holt | |
2019-06-27 | Use html/template for escaping by default | Matthew Holt | |
Allow HTML only with a few specific functions | |||
2019-06-21 | Oops | Matthew Holt | |
2019-06-21 | Minor cleanups/improvements | Matthew Holt | |
2019-06-18 | templates: Remove context functions implemented by sprig | Matthew Holt | |
2019-06-18 | Refactor templates execution; add sprig functions | Matthew Holt | |
2019-06-18 | Implement templates handler; various minor cleanups and bug fixes | Matthew Holt | |