hugo/resources/page
Luke Francl 70a1aa345b Support Go time format strings in permalinks
In the vein of an ancient TODO about supporting custom date formatting with
strftime, this allows `:`-prefixed Go time format strings in permalink segments.
This allows users to customize date-based permalinks any way they need to.

For example, with a date of 2019-11-09, the permalink `/:06/:1/:2` will render
as `/19/11/9`.

See:

07978e4a49 (diff-0688a3b65c7f5d01aa216f8d9b57fd00R111-R112)
https://discourse.gohugo.io/t/implementing-additional-date-formats-for-permalinks/17860
https://github.com/gohugoio/hugo/pull/6488
2019-11-10 11:00:02 +01:00
..
page_generate resources/page: Fix .RSSLinke deprecation message 2019-04-09 16:47:29 +02:00
pagemeta tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
page.go Simplify page tree logic 2019-08-08 20:13:39 +02:00
page_author.go Remove references to Google+ 2019-05-26 19:24:45 +02:00
page_data.go Make Page an interface 2019-03-23 18:51:22 +01:00
page_data_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
page_kinds.go hugolib: Fix output format handling of mix cased page kinds 2019-08-05 11:22:03 +02:00
page_kinds_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
page_marshaljson.autogen.go resources/page: Regenerate JSON wrapper 2019-04-05 16:58:52 +02:00
page_nop.go Simplify page tree logic 2019-08-08 20:13:39 +02:00
page_outputformat.go Make Page an interface 2019-03-23 18:51:22 +01:00
page_paths.go hugolib: Fix bundle path when slug is set 2019-06-09 16:55:08 +02:00
page_paths_test.go Make Page an interface 2019-03-23 18:51:22 +01:00
page_wrappers.autogen.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
pagegroup.go Merge pull request #6149 from bep/sort-caseinsensitive 2019-08-01 10:19:19 +02:00
pagegroup_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pages.go tpl/collections: Fix slice type handling in sort 2019-06-10 08:32:44 +02:00
pages_cache.go Make Page an interface 2019-03-23 18:51:22 +01:00
pages_cache_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pages_language_merge.go Make Page an interface 2019-03-23 18:51:22 +01:00
pages_prev_next.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
pages_prev_next_test.go Make Pages.Prev/Next work like the other Prev/Next methods 2019-10-13 12:36:17 +02:00
pages_related.go Make Page an interface 2019-03-23 18:51:22 +01:00
pages_related_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pages_sort.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
pages_sort_search.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
pages_sort_search_test.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
pages_sort_test.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
pages_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pagination.go Make Page an interface 2019-03-23 18:51:22 +01:00
pagination_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
permalinks.go Support Go time format strings in permalinks 2019-11-10 11:00:02 +01:00
permalinks_test.go Support Go time format strings in permalinks 2019-11-10 11:00:02 +01:00
site.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
testhelpers_test.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
weighted.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
zero_file.autogen.go Add Hugo Modules 2019-07-24 09:35:53 +02:00