aboutsummaryrefslogtreecommitdiff
path: root/templates/404.html (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