hugo/hugolib
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
..
assets/images
filesystems Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
paths Fix it so disable a module does not disable transitive dependency required by others 2023-08-23 18:05:18 +02:00
testdata
testsite
404_test.go
alias.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
alias_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
breaking_changes_test.go
cascade_test.go
codeowners.go
collections.go
collections_test.go
config.go Don't use the OS environment when creating config for docs 2023-08-30 19:22:44 +02:00
config_test.go Deprecate taxonomyTerm 2023-07-28 15:14:24 +02:00
configdir_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
content_factory.go
content_factory_test.go
content_map.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
content_map_page.go markdown: Pass emoji codes to yuin/goldmark-emoji 2023-10-24 12:04:13 +02:00
content_map_test.go
content_render_hooks_test.go
datafiles_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
dates_test.go
disableKinds_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
embedded_shortcodes_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
embedded_templates_test.go 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
fileInfo.go
fileInfo_test.go
frontmatter_test.go
gitinfo.go
hugo_modules_test.go Fix for data mounts in sub folders 2023-07-15 11:13:08 +02:00
hugo_sites.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
hugo_sites_build.go Fix deprecation printing on info level 2023-10-31 10:42:23 +01:00
hugo_sites_build_errors_test.go
hugo_sites_build_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
hugo_sites_multihost_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
hugo_sites_rebuild_test.go
hugo_smoke_test.go Fix recently broken benchmark 2023-09-12 11:50:31 +02:00
image_test.go
integration_test.go hugolib: Apply titleCaseStyle to automatic section pages 2023-12-04 11:42:06 +01:00
integrationtest_builder.go Add a new test helper 2023-11-02 09:50:18 +01:00
language_content_dir_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
language_test.go
menu_test.go Fix menuItem.URL when pageRef is not set 2023-06-02 09:04:00 +02:00
minify_publisher_test.go
mount_filters_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
page.go Remove rest of the now unused emoji code 2023-10-26 09:20:56 +02:00
page__common.go
page__content.go
page__data.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page__fragments_test.go
page__menus.go
page__meta.go hugolib: Apply titleCaseStyle to automatic section pages 2023-12-04 11:42:06 +01:00
page__new.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
page__output.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
page__paginator.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page__paths.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page__per_output.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
page__position.go
page__ref.go
page__tree.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page_kinds.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page_permalink_test.go
page_test.go tpl/collections: Make delimit return a string 2023-10-28 11:54:23 +02:00
page_unwrap.go
page_unwrap_test.go
pagebundler_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
pagecollections.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
pagecollections_test.go Fix RegularPagesRecursive for the home page 2023-08-30 13:44:04 +03:00
pages_capture.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
pages_capture_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
pages_language_merge_test.go
pages_process.go
pages_test.go
paginator_test.go
permalinker.go
prune_resources.go
rendershortcodes_test.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
renderstring_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
resource_chain_test.go Add retry in resources.GetRemote for temporary HTTP errors 2023-08-04 17:16:52 +02:00
robotstxt_test.go
rss_test.go
securitypolicies_test.go Upgrade to v2 of the Dart Sass Embedded Protocol 2023-06-12 13:47:38 +02:00
shortcode.go Remove rest of the now unused emoji code 2023-10-26 09:20:56 +02:00
shortcode_page.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
shortcode_test.go markdown: Pass emoji codes to yuin/goldmark-emoji 2023-10-24 12:04:13 +02:00
site.go markdown: Pass emoji codes to yuin/goldmark-emoji 2023-10-24 12:04:13 +02:00
site_benchmark_new_test.go
site_new.go Avoid double printing INFO deprecation messages 2023-11-01 16:40:26 +01:00
site_output.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
site_output_test.go Add $image.Process 2023-09-24 11:54:29 +02:00
site_render.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
site_sections.go
site_sections_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
site_stats_test.go
site_test.go Avoid escaping HTML chars inside hugo_stats.json 2023-08-21 13:17:21 +02:00
site_url_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
siteJSONEncode_test.go
sitemap_test.go Fix defaultContentLanguageInSubdir with only 1 language 2023-07-08 16:08:46 +02:00
taxonomy_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
template_test.go
testhelpers_test.go Fix defaultContentLanguageInSubdir with only 1 language 2023-07-08 16:08:46 +02:00
translations.go