aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/fork_go_templates/main.go
diff options
context:
space:
mode:
authorRazon Yang <[email protected]>2023-12-04 19:05:41 +0800
committerGitHub <[email protected]>2023-12-04 12:05:41 +0100
commit14d85ec136413dcfc96ad8e4d31633f8f9cbf410 (patch)
tree24fb956c14c7e075dad9223587cc0aef0a63a0b5 /scripts/fork_go_templates/main.go
parent171836cdfae7e9697fddafe262c46b9448bcb98e (diff)
downloadhugo-14d85ec136413dcfc96ad8e4d31633f8f9cbf410.tar.gz
hugo-14d85ec136413dcfc96ad8e4d31633f8f9cbf410.zip
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.
Diffstat (limited to 'scripts/fork_go_templates/main.go')
0 files changed, 0 insertions, 0 deletions