Matthew Holt
b9244cdf2e
templates: Another context fix when host header is missing port
2015-11-17 14:35:18 -07:00
Matthew Holt
cc229aefae
templates: Parse host successfully when port is implicit ( fixes #292 )
2015-10-27 23:20:05 -06:00
Matthew Holt
9e2bef146e
middleware: Added StripHTML to Context type
2015-09-17 16:23:30 -06:00
Matthew Holt
8c843ceefd
middleware: Add StripExt to Context type for stripping extensions from paths
2015-09-16 21:31:58 -06:00
Matthew Holt
b62de4c521
New template action NowDate to get the time.Time of Now()
2015-08-05 08:27:13 -06:00
Matthew Holt
0b01489f7d
templates: Date -> Now, add Replace and Truncate
2015-07-29 17:43:00 -06:00
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