Revert "include: render shortcodes if file is a page #916"

This reverts commit 97e48583cb6c7b3b2c9aeacc8d46c0eede7f7607.
This commit is contained in:
Sören Weber 2024-09-17 21:29:57 +02:00
parent bed830f385
commit e95434c2d4
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -9,9 +9,6 @@
{{- 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)
}}