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
915172e9ef
templates: Close files after done including them
2015-07-01 11:36:37 -06:00
Matthew Holt
7a42e60bcb
templates: Support for nested include files
...
i.e. included files are also parsed as templates
2015-06-30 18:21:18 -06:00
Matthew Holt
a9064a7871
templates: Changed .RemoteAddr to .IP and stripped port
2015-05-05 15:49: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