hugo/hugolib
Bjørn Erik Pedersen 6667c6d743 tpl/collections: Add group template func
This extends the page grouping in Hugo with a template function that allows for ad-hoc grouping.

A made-up example:

```
{{ $cool := where .Site.RegularPages "Params.cool" true | group "cool" }}
{{ $blue := where .Site.RegularPages "Params.blue" true | group "blue" }}
{{ $paginator := .Paginate (slice $cool $blue) }}
```

Closes #4865
2018-09-08 20:20:26 +02:00
..
filesystems hugolib: Add missing error checks 2018-08-30 22:31:29 +02:00
pagemeta hugolib: Simplify some code 2018-08-30 22:31:29 +02:00
paths hugolib: Fix typo in private func name 2018-08-30 22:31:29 +02:00
testdata
testsite
404_test.go
alias.go
alias_test.go
author.go
case_insensitive_test.go
config.go
config_test.go Improve minifier MIME type resolution 2018-08-28 17:00:53 +02:00
datafiles_test.go
disableKinds_test.go
embedded_shortcodes_test.go
embedded_templates_test.go
fileInfo.go
gitinfo.go
hugo_info.go
hugo_info_test.go
hugo_sites.go Fix handling of taxonomy terms containing slashes 2018-08-22 07:18:37 +02:00
hugo_sites_build.go
hugo_sites_build_failures_test.go
hugo_sites_build_test.go
hugo_sites_multihost_test.go
hugo_themes_test.go
language_content_dir_test.go
media.go
menu.go
menu_test.go
minify_publisher_test.go
multilingual.go
orderedMap.go
orderedMap_test.go
page.go tpl/collections: Add group template func 2018-09-08 20:20:26 +02:00
page_bundler.go hugolib: Force render of any changed page, even in Fast Render Mode 2018-08-16 12:54:59 +02:00
page_bundler_capture.go hugoblib: Fix "adding a bundle" in server mode 2018-08-16 12:54:59 +02:00
page_bundler_capture_test.go
page_bundler_handlers.go
page_bundler_test.go Improve minifier MIME type resolution 2018-08-28 17:00:53 +02:00
page_collections.go hugolib: Fix image cache-clearing for sub-languages 2018-08-16 12:54:59 +02:00
page_collections_test.go
page_output.go
page_paths.go Fix handling of taxonomy terms containing slashes 2018-08-22 07:18:37 +02:00
page_paths_test.go Fix handling of taxonomy terms containing slashes 2018-08-22 07:18:37 +02:00
page_permalink_test.go
page_resource.go
page_taxonomy_test.go Fix handling of taxonomy terms containing slashes 2018-08-22 07:18:37 +02:00
page_test.go hugolib: Simplify some code 2018-08-30 22:31:29 +02:00
page_time_integration_test.go
page_without_content.go
pageCache.go
pageCache_test.go
pageGroup.go tpl/collections: Add group template func 2018-09-08 20:20:26 +02:00
pageGroup_test.go tpl/collections: Add group template func 2018-09-08 20:20:26 +02:00
pages_language_merge.go
pages_language_merge_test.go
pages_related.go hugolib: Use the interface value when doing Related search 2018-08-14 18:19:45 +02:00
pages_related_test.go
pageSort.go
pageSort_test.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go hugolib: Allow creating page groups from any page collection 2018-09-08 11:14:09 +02:00
pagination_test.go
path_separators_test.go
permalinker.go
permalinks.go
permalinks_test.go
prune_resources.go
resource_chain_test.go hugolib: Only run variable variable overwrite test on Go 1.11 2018-08-28 18:00:19 +02:00
robotstxt_test.go
rss_test.go
shortcode.go hugolib: Fix shortcode output wrapped in p 2018-08-17 09:13:30 +02:00
shortcode_test.go hugolib: Adjust tests for shortcode p-issue 2018-08-17 09:13:39 +02:00
shortcodeparser.go
shortcodeparser_test.go
site.go hugolib: Do not FirstUpper taxonomy titles 2018-09-06 20:29:21 +02:00
site_benchmark_test.go
site_output.go hugolib: Simplify some code 2018-08-30 22:31:29 +02:00
site_output_test.go Improve minifier MIME type resolution 2018-08-28 17:00:53 +02:00
site_render.go
site_sections.go
site_sections_test.go
site_stats_test.go
site_test.go
site_url_test.go
siteJSONEncode_test.go
sitemap.go
sitemap_test.go
taxonomy.go
taxonomy_test.go hugolib: Do not FirstUpper taxonomy titles 2018-09-06 20:29:21 +02:00
template_engines_test.go
template_test.go
testhelpers_test.go hugolib: Only run variable variable overwrite test on Go 1.11 2018-08-28 18:00:19 +02:00
translations.go