mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 17:15:13 +00:00
70a1aa345b
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:
|
||
---|---|---|
.. | ||
images | ||
internal | ||
page | ||
resource | ||
resource_factories | ||
resource_transformers | ||
testdata | ||
image.go | ||
image_cache.go | ||
image_test.go | ||
resource.go | ||
resource_cache.go | ||
resource_cache_test.go | ||
resource_metadata.go | ||
resource_metadata_test.go | ||
resource_spec.go | ||
resource_test.go | ||
testhelpers_test.go | ||
transform.go | ||
transform_test.go |