diff --git a/layouts/partials/shortcodes/include.html b/layouts/partials/shortcodes/include.html index f8d19a1963..0010a3a91a 100644 --- a/layouts/partials/shortcodes/include.html +++ b/layouts/partials/shortcodes/include.html @@ -9,6 +9,9 @@ {{- with or ($page.Page.GetPage $path) ($page.Page.GetPage (strings.TrimRight "/" $path)) +}} + {{- $content = .RenderShortcodes }} +{{- else with or ($page.Page.Resources.Get $path) (resources.Get $path) }}