Maxime
f536bc94b2
Added the Context to the browse directive
...
Moved the Context type to middleware and exported it.
Users can use .Include and others in browse directive templating
Created test for the templates directive.
2015-07-17 20:07:24 +02:00
Matthew Holt
c82d7c2dd2
templates: Better error handling for missing files
2015-07-06 23:37:27 -06:00
Matthew Holt
47717fee88
Expanded index file support to other middlewares ( fixes #27 )
2015-05-05 15:50:42 -06:00
Matthew Holt
e4fdf171c7
More refactoring - nearly complete
2015-05-04 11:49:49 -06:00
Matthew Holt
ff344535ba
Added some godoc
2015-04-27 10:56:57 -06:00
Matthew Holt
c10d2e0d45
Make the thing compile
2015-04-21 22:30:47 -06:00
Matthew Holt
1a8f753303
Meh.
2015-04-21 21:41:58 -06:00
Matthew Holt
bdd145b0de
Better error handling when executing templates
2015-04-21 21:36:30 -06:00
Matthew Holt
6a32de4b47
Use text/template because html shouldn't be escaped for this
2015-04-18 12:28:22 -06:00
Matthew Holt
f5d0ed5b1c
More template love
2015-04-18 11:31:59 -06:00
Matthew Holt
55801b48ec
More template functions
2015-04-18 11:08:41 -06:00
Matthew Holt
3ec870cb56
Templates middleware with "include" functionality
2015-04-18 09:57:51 -06:00