aboutsummaryrefslogtreecommitdiff
path: root/cmd/server/feed.go
AgeCommit message (Collapse)AuthorFilesLines
2023-01-07Add an internal caching option. It performs quite well.v0.0.22Mitchell Riedstra1-38/+46
Also refactor and clean up most linter warnings.
2023-01-06Refactor routing and handlersMitchell Riedstra1-96/+88
We were building a new gorilla mux on each connection, change that to an *http.ServeMux and build it once for the lifetime of the application. Tell redis to only cache GET requests.
2022-06-190.0.17a / Alpha. Introduce users and page editing.v0.0.17aMitchell Riedstra1-1/+1
Breaking changes: inc/base.html is now tpl/base.md by default. This can be overridden on the command line. 404.md is now tpl/404.md. This can be overridden with templatedirectory in the configuration file. Additional files: `auth.json` file that stores credentials and settings for authorization cookie. Further notes: This will likely receive some major updates and changes over the next few commits. The scaffolidng is now in place for user accounts, login handling, and page editing. It's all extremely basic at the moment, on the idea list: Listing of all markdown files File uploader and general content management Flags to turn on/off git integration for edits. Download / Upload of all markdown files as a backup/restore. It's of course, all subject to change.
2021-10-24Redis caching. Linter config and cleanup.Mitchell Riedstra1-15/+33
2021-07-18Adjust the program a bit, remove clunky "head" templates. Add an example ↵v0.0.13Mitchell Riedstra1-0/+13
site among other improvements
2021-07-12Add atom feed to the go websiteMitchell Riedstra1-0/+216