mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-05 09:51:45 +00:00
20c9b6ec81
This commit expands the Resource interface with 3 new methods: * Name * Title * Params All of these can be set in the Page front matter. `Name` will get its default value from the base filename, and is the value used in the ByPrefix and GetByPrefix lookup methods. Fixes #4244 |
||
---|---|---|
.. | ||
testdata | ||
image.go | ||
image_cache.go | ||
image_test.go | ||
resource.go | ||
resource_test.go | ||
testhelpers_test.go |