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
pagemeta
integration_test.go
page.go
page_author.go
page_data.go
page_data_test.go
page_kinds.go
page_kinds_test.go
page_lazy_contentprovider.go
page_marshaljson.autogen.go
page_matcher.go
page_matcher_test.go
page_nop.go
page_outputformat.go
page_paths.go
page_paths_test.go
page_wrappers.autogen.go
pagegroup.go
pagegroup_test.go
pages.go
pages_cache.go
pages_cache_test.go
pages_language_merge.go
pages_prev_next.go
pages_prev_next_test.go
pages_related.go
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
permalinks_test.go
site.go
testhelpers_test.go
weighted.go
zero_file.autogen.go