hugo/tpl
Razon Yang 14d85ec136
tpl: Allow using page resources on the images page parameter for opengraph, schema and twitter_cards templates
The page images selection order as follows:

1. Page's images parameter, image resources are supported.
2. Page's image resources that naming in *feature*, *cover* or *thumbnail* pattern.
3. If no page images specified, then the first one of site's images will be used as the fallback, supports site resources.
2023-12-04 12:05:41 +01:00
..
cast Add hugo.WorkingDir 2023-05-20 17:45:56 +02:00
collections tpl/collections: Make delimit return a string 2023-10-28 11:54:23 +02:00
compare all: Fix comments for exported functions and packages 2023-05-18 21:25:27 +02:00
crypto Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
css Add a page template func 2023-02-25 19:53:18 +01:00
data Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
debug Fix deprecation printing on info level 2023-10-31 10:42:23 +01:00
diagrams Add a page template func 2023-02-25 19:53:18 +01:00
encoding Add a page template func 2023-02-25 19:53:18 +01:00
fmt tpl/fmt: Print suppression help with erroridf 2023-12-04 11:39:27 +01:00
hugo Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
images Make imageConfig work with modules 2023-07-08 17:20:18 +02:00
inflect Add a page template func 2023-02-25 19:53:18 +01:00
internal Upgrade to Go 1.21.1 2023-09-21 21:38:41 +02:00
js Add a page template func 2023-02-25 19:53:18 +01:00
lang Revise the deprecation logging 2023-10-26 20:41:19 +02:00
math all: Format files with gofmt 2023-10-05 14:45:55 +02:00
openapi Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
os Add a page template func 2023-02-25 19:53:18 +01:00
page Allow page.TableOfContents on self in shortcode 2023-03-05 12:51:57 +01:00
partials Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
path Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
reflect Add a page template func 2023-02-25 19:53:18 +01:00
resources resources.functions: improve validation 2023-03-20 14:53:57 +01:00
safe Add a page template func 2023-02-25 19:53:18 +01:00
site Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
strings Add a common regexp cache 2023-07-27 19:23:12 +02:00
templates Run gofmt -s on source files 2023-03-12 10:32:29 +01:00
time Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
tplimpl tpl: Allow using page resources on the images page parameter for opengraph, schema and twitter_cards templates 2023-12-04 12:05:41 +01:00
transform tpl/transform: Display Chroma highlighting errors 2023-12-04 11:38:23 +01:00
urls tpl/urls: Return strings from URL functions 2023-10-29 18:12:24 +01:00
template.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
template_info.go Add --printUnusedTemplates 2022-02-15 20:01:57 +01:00
template_test.go Fix Plainify edge cases 2022-05-25 17:55:23 +02:00