hugo/hugolib
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
..
benchmark_test.go permitting empty files again. Fixing some tests to now pass. 2014-05-01 14:11:56 -04:00
handler_file.go Handler WIP 2014-11-01 12:05:37 -04:00
handler_page.go Handler WIP 2014-11-01 12:05:37 -04:00
handlers.go Handler WIP 2014-11-01 12:05:37 -04:00
menu.go Implement HasMenuCurrent and IsMenuCurrent for Nodes 2014-11-01 22:34:49 -04:00
menu_test.go Implement HasMenuCurrent and IsMenuCurrent for Nodes 2014-11-01 22:34:49 -04:00
node.go Implement HasMenuCurrent and IsMenuCurrent for Nodes 2014-11-01 22:34:49 -04:00
page.go Migrating Hugo to Afero for filesystem calls. 2014-11-01 11:57:29 -04:00
page_permalink_test.go Big refactor of how source files are used. Also added default destination extension option. 2014-10-16 20:20:09 -04:00
page_taxonomy_test.go fix tags not being in lowercase, #491 2014-09-11 17:03:31 -04:00
page_test.go Big refactor of how source files are used. Also added default destination extension option. 2014-10-16 20:20:09 -04:00
page_time_integration_test.go permitting empty files again. Fixing some tests to now pass. 2014-05-01 14:11:56 -04:00
pageGroup.go Add sort and grouping functions for publish date and param of Page 2014-11-01 22:41:04 -04:00
pageSort.go Add sort and grouping functions for publish date and param of Page 2014-11-01 22:41:04 -04:00
path_seperators_test.go Big refactor of how source files are used. Also added default destination extension option. 2014-10-16 20:20:09 -04:00
path_seperators_windows_test.go Add Disqus support out of the box. Move template/bundle into hugolib. 2014-04-23 02:53:12 -04:00
permalinks.go Big refactor of how source files are used. Also added default destination extension option. 2014-10-16 20:20:09 -04:00
permalinks_test.go permitting empty files again. Fixing some tests to now pass. 2014-05-01 14:11:56 -04:00
planner.go Big refactor of how source files are used. Also added default destination extension option. 2014-10-16 20:20:09 -04:00
redis.cn.md Adding benchmark for parsing pages using unicode. 2013-08-09 17:36:32 -07:00
rss_test.go Fixing all tests to pass with new Viper Config 2014-04-07 11:44:51 -04:00
shortcode.go Big refactor of how source files are used. Also added default destination extension option. 2014-10-16 20:20:09 -04:00
shortcode_test.go add 'width' parameter to 'figure' shortcode 2014-10-15 12:09:26 -04:00
site.go Implement HasMenuCurrent and IsMenuCurrent for Nodes 2014-11-01 22:34:49 -04:00
site_show_plan_test.go Big refactor of how source files are used. Also added default destination extension option. 2014-10-16 20:20:09 -04:00
site_test.go Add sort and grouping functions for publish date and param of Page 2014-11-01 22:41:04 -04:00
site_url_test.go Big refactor of how source files are used. Also added default destination extension option. 2014-10-16 20:20:09 -04:00
siteinfo_test.go Fix permalink functionality, which was broken in 62dd1d4. 2014-05-12 15:47:52 -04:00
sitemap.go Add Sitemaps config values handling 2014-05-09 23:11:33 -04:00
sitemap_test.go Add Sitemap testing 2014-05-09 23:11:42 -04:00
summary.go Big refactor of how source files are used. Also added default destination extension option. 2014-10-16 20:20:09 -04:00
taxonomy.go Sort by title if dates are the same 2014-09-11 17:23:01 -04:00
taxonomy_test.go permitting empty files again. Fixing some tests to now pass. 2014-05-01 14:11:56 -04:00
template.go Make First accept any int 2014-10-15 12:39:09 -04:00
template_embedded.go add 'width' parameter to 'figure' shortcode 2014-10-15 12:09:26 -04:00
template_test.go Make First accept any int 2014-10-15 12:39:09 -04:00