hugo/tpl
Bjørn Erik Pedersen e5e1bcc271 Add plainify template function
To strip away any HTML. May be useful for the .Title in head etc.

People may shoot themself in the foot with this, maybe ...

The replacement function is pretty fast.
2016-03-21 20:27:25 -04:00
..
reflect_helpers.go Make where accept slice 2016-03-06 13:15:07 +01:00
template.go No block support in shortcodes 2016-03-15 10:22:08 +01:00
template_embedded.go Allow picking a specific file out of a gist 2016-03-11 18:29:07 +01:00
template_funcs.go Add plainify template function 2016-03-21 20:27:25 -04:00
template_funcs_test.go Add plainify template function 2016-03-21 20:27:25 -04:00
template_resources.go tpl: Unexport the rest of the internal template funcs 2016-03-04 01:00:41 +01:00
template_resources_test.go tpl: Unexport the rest of the internal template funcs 2016-03-04 01:00:41 +01:00
template_test.go tpl: Add missing printf param in t.Errorf call 2016-03-17 20:07:41 +01:00