mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
Fix panic with markdownify/RenderString with shortcode on Page with no content file
Fixes #9959
This commit is contained in:
@@ -102,6 +102,9 @@ type pageCommon struct {
|
||||
// The parsed page content.
|
||||
pageContent
|
||||
|
||||
// Keeps track of the shortcodes on a page.
|
||||
shortcodeState *shortcodeHandler
|
||||
|
||||
// Set if feature enabled and this is in a Git repo.
|
||||
gitInfo *gitmap.GitInfo
|
||||
codeowners []string
|
||||
|
Reference in New Issue
Block a user