Commit Graph

20 Commits

Author SHA1 Message Date
6d3de7da69 Let me use interface{} for template vars
Since most of the `render.Vars{}` fields were hardcoded/not really
editable for the templates, apart from .Data, this struct is now locked
away in the render subpackage.

End http.HandlerFunc's can then make any arbitrary template data
structure they want to, available inside the templates as `.Data`.
2018-02-10 14:05:41 -08:00
eab7dae75b Further simplify template rendering 2018-02-10 13:16:20 -08:00
f0045ae2cf Move Flash and Redirect responses to subpackage 2018-02-10 11:20:27 -08:00
60ccaf7b35 Eviscerate the last of the middleware into sub-packages 2018-02-10 11:14:42 -08:00
e393b1880f Move template rendering into sub-package 2018-02-10 10:08:45 -08:00
aabcf59181 Branch markdown into its own subpackage 2018-02-09 19:01:56 -08:00
3d5147ff4c Shuffle around package directories 2018-02-09 18:46:58 -08:00
3b3295884c Fix blog posts losing their Created time on edit 2018-02-09 18:25:03 -08:00
e8ca2e408a Descriptions in XML feeds 2018-02-01 20:25:41 -08:00
0ca2ebd874 Bring back the RSS/Atom feeds 2018-02-01 20:14:42 -08:00
1430c54f0e Legacy /category/ URI 2018-01-02 11:17:57 -08:00
baaf7bcfac Legacy Rophako blog index page 2017-12-23 21:21:26 -08:00
94cdc916ac Blog tag pages and contact form 2017-12-22 18:34:58 -08:00
88a9908c19 Make the blog index includeable from site index 2017-12-01 08:07:21 -08:00
527e995c1c Add support for subscribing to comment threads 2017-11-26 18:52:14 -08:00
725437d06f Comment system: add, edit, delete for guests and Admins 2017-11-26 15:53:10 -08:00
ab5430df26 Blog archive page 2017-11-24 13:27:08 -08:00
34d444ab96 Handle drafts and private/unlisted posts 2017-11-24 12:53:13 -08:00
b127c61dd7 Blog post creation, viewing, index listing, editing, deleting 2017-11-24 11:56:32 -08:00
5009065480 Blog edit and preview page 2017-11-19 21:49:19 -08:00