hugo/tpl
Cameron Moore 45df4596bb tpl: Add humanize func and cleanup lint
Add humanize (inflect.Humanize) to the template funcMap.  Documentation and
tests are included.

Various code cleanups of the template funcs:

- Break pluralize and singularize out into stand-alone funcs.
- Sort the list of funcMap entries.
- Add some minimal godoc comments to all public funcs.
- Fix some issues found by golint and grind.
2016-02-06 15:31:25 +01:00
..
template.go Replace *bytes.Buffer with io.Writer in rendering 2016-01-05 23:32:03 +01:00
template_embedded.go Add autostart option to YouTube shortcode 2016-01-29 16:23:41 -05:00
template_funcs.go tpl: Add humanize func and cleanup lint 2016-02-06 15:31:25 +01:00
template_funcs_test.go tpl: Add humanize func and cleanup lint 2016-02-06 15:31:25 +01:00
template_resources.go
template_resources_test.go Apply gofmt -s 2016-02-06 13:09:52 +01:00
template_test.go Add one more temporary template test for linux/arm 2016-01-13 14:26:25 +01:00