aboutsummaryrefslogtreecommitdiff
path: root/utils_test.go (follow)
Commit message (Collapse)AuthorAgeFiles
* feat: support for custom templates (#129)Henrique Dias2023-11-101
| | | | | | | | | | | | | | Adds a `-templates` flag that can be used to provide an alternative directory with templates for Sally to use. The new templates override the default set embedded in Sally. This includes a new 404 template so that 404 errors use the same theme as the rest of the website. Additionally, for HTTP status >400, this also sets the Cache-Control header to discourage CDNs like Cloudflare from caching the page. Resolves #125, #18
* Drop gohtml dependency (#70)Abhinav Gupta2023-01-231
| | | | | | This dependency is used to format and compare HTML. An additional dependency isn't needed; we can use the existing (previously transitive) x/net package to reformat and compare the HTML.
* Fix lint error issues (#65)Sung Yoon Whang2022-12-191
| | | | | | Since upgrading to Go 1.19 we are seeing linter error due to usage of the deprecated io/ioutil package. This removes the usage of io/ioutil package.
* Add dockerfiles and update makefile (#25)Peter Edge2017-01-261
|
* Rework as HTTP server (#15)Grayson Koonce2016-10-121