aboutsummaryrefslogtreecommitdiff
path: root/utils_test.go (unfollow)
Commit message (Collapse)AuthorFiles
2023-11-10feat: support for custom templates (#129)Henrique Dias1
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
2023-01-23Drop gohtml dependency (#70)Abhinav Gupta1
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.
2022-12-19Fix lint error issues (#65)Sung Yoon Whang1
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.
2017-01-26Add dockerfiles and update makefile (#25)Peter Edge1
2016-10-12Rework as HTTP server (#15)Grayson Koonce1