Commit Graph

3 Commits (e67df627ced44e5545a81d24d0e728ec05c936f5)

Author SHA1 Message Date
Noah eb1880d348 Break out some controllers and move mail to subpackage
Controllers moved into sub-packages:
* Initial setup
* Admin routes
* Auth login/out routes
* Contact
2018-02-10 14:36:21 -08:00
Noah 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
Noah 94cdc916ac Blog tag pages and contact form 2017-12-22 18:34:58 -08:00