hugo/docs/content/templates
Tatsushi Demachi 5e28606b84 Add sort and grouping functions for publish date and param of Page
`GroupBy` is modified to allow it to receive a method name argument for
example `Type` as its first argument. It is only allowed to call with
a method which takes no arguments and returns a result or a pair of
a result and an error.

The functions discussed at #443 are also added

- `ByPublishDate`: Order contents by `PublishDate` front matter variable
- `GroupByPublishDate(format, order)`: Group contents by `PublishDate`
  front matter variable formatted in string like `GroupByDate`
- `GroupByParam(key, order)`: Group contents by `Param` front matter
  variable specified by `key` argument
- `GroupByParamDate(key, format, order)`: Group contents by `Param`
  front matter variable specified by `key` argument and formatted in
  string like `GroupByDate`. It's effective against `time.Time` type
  front matter variable
2014-11-01 22:41:04 -04:00
..
404.md More proofreading and minor revisions to Hugo docs 2014-09-08 11:41:10 -04:00
content.md More proofreading and minor revisions to Hugo docs 2014-09-08 11:41:10 -04:00
functions.md added docs for 'intersect' and 'in' template functions 2014-10-15 12:30:10 -04:00
go-templates.md Minor proofreading corrections to Hugo docs 2014-10-15 12:18:20 -04:00
homepage.md More proofreading and minor revisions to Hugo docs 2014-09-08 11:41:10 -04:00
list.md Add sort and grouping functions for publish date and param of Page 2014-11-01 22:41:04 -04:00
overview.md Minor proofreading corrections to Hugo docs 2014-09-01 08:19:40 -04:00
partials.md More proofreading and minor revisions to Hugo docs 2014-09-08 11:41:10 -04:00
rss.md Switch to new hompage 2014-10-02 13:39:59 -04:00
sitemap.md Minor proofreading corrections to Hugo docs 2014-09-01 08:19:40 -04:00
terms.md More proofreading and minor revisions to Hugo docs 2014-09-08 11:41:10 -04:00
variables.md Document manual breakpoint of .Summary 2014-10-15 12:15:59 -04:00
views.md More proofreading and minor revisions to Hugo docs 2014-09-08 11:41:10 -04:00