hugo/resources/page
Bjørn Erik Pedersen 631d768be9 Revise the fix for shortcode vs output format nilpointer
We do lazy initialization and (potentially) reuse of an output format's rendered content. We do this evaluation when we
start a new rendering a new output format. There are, however, situation where these borders gets crossed (e.g.
accessing content from another output format). We have a check for this in place for most cases, but not the content
rendering of inner markdown blocks inside shortcodes. This patch applies that same logic to the newly introduced
RenderContent method (which is not available from the templates).

Fixes #10391
2022-10-26 13:00:21 +02:00
..
page_generate Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
pagemeta
integration_test.go
page.go Revise the fix for shortcode vs output format nilpointer 2022-10-26 13:00:21 +02:00
page_author.go
page_data.go
page_data_test.go
page_kinds.go
page_kinds_test.go
page_lazy_contentprovider.go Revise the fix for shortcode vs output format nilpointer 2022-10-26 13:00:21 +02:00
page_marshaljson.autogen.go
page_matcher.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
page_matcher_test.go
page_nop.go Revise the fix for shortcode vs output format nilpointer 2022-10-26 13:00:21 +02:00
page_outputformat.go
page_paths.go
page_paths_test.go
page_wrappers.autogen.go
pagegroup.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
pagegroup_test.go
pages.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
pages_cache.go
pages_cache_test.go
pages_language_merge.go
pages_prev_next.go
pages_prev_next_test.go
pages_related.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
pages_related_test.go
pages_sort.go
pages_sort_search.go
pages_sort_search_test.go
pages_sort_test.go
pages_test.go
pagination.go
pagination_test.go
permalinks.go resources/page: Add :slugorfilename attribute 2022-06-13 21:45:03 +02:00
permalinks_test.go resources/page: Add :slugorfilename attribute 2022-06-13 21:45:03 +02:00
site.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
testhelpers_test.go
weighted.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
zero_file.autogen.go