summaryrefslogtreecommitdiff
path: root/src/http/tpl.go
AgeCommit message (Collapse)Author
2024-05-26Clean out Get/SetRequestLogger from apiutilBrian Picciano
2024-05-26Refactor how preprocess functions work a bitBrian Picciano
2024-05-26Replace URL building methods with the URLBuilderBrian Picciano
2024-05-19Get rid of most of preprocess funcs, only Image leftover for convenienceBrian Picciano
2024-05-18Replace all URL rendering within templates by a URLConstructorBrian Picciano
2024-05-18Remove most custom template functions from html templatingBrian Picciano
2024-05-18Remove most rendering related querying from go http handlersBrian Picciano
2024-05-18Render posts completely using common rendering methodsBrian Picciano
The aim is to reduce reliance on custom logic in the handlers for every protocol, eventually outsourcing all of it into `render.Methods`, leaving each protocol to simply direct calls to the correct template.
2024-05-11Move to dev.mediocregopher.com/mediocre-blog.gitBrian Picciano
2023-10-28Fix go module pathBrian Picciano
2023-04-14Prefix html title tag for posts with their titleBrian Picciano
2023-01-24Add gemini CTA to HTTP pagesBrian Picciano
2023-01-24Refactor URL construction a bitBrian Picciano
BlogHTTPURL and BlogGeminiURL are now used specifically to construct absolute URLs to their respective endpoints.
2023-01-22Allow url construction to work if blog is under a sub-pathBrian Picciano
2023-01-19Add support for gemtext postsBrian Picciano
2022-11-29Introduce EDIT and MANAGE methodsBrian Picciano
All admin "index" pages are moved under MANAGE, so that we can have (for example) and normal "GET /posts" page later which would replace the current index page, and potentially corresponding pages for the other categories. The EDIT method replaces the old `?edit` pattern, which normalizes how we differentiate page functionality generally.
2022-09-13move src out of srv, clean up default.nix and MakefileBrian Picciano