hugo/docs/content/templates
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
..
404.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
ace.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
amber.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
content.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
debugging.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
functions.md tpl: Add humanize func and cleanup lint 2016-02-06 15:31:25 +01:00
go-templates.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
homepage.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
list.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
overview.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
partials.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
rss.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
sitemap.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
terms.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00
variables.md Fixed example and cross-reference in content/variables.md 2016-02-01 16:54:27 +01:00
views.md docs: Add lastmod to content files 2016-01-06 23:55:18 +01:00