mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
Revert "include: render shortcodes if file is a page #916"
This reverts commit 97e48583cb6c7b3b2c9aeacc8d46c0eede7f7607.
This commit is contained in:
parent
bed830f385
commit
e95434c2d4
1 changed files with 0 additions and 3 deletions
|
@ -9,9 +9,6 @@
|
||||||
{{- with or
|
{{- with or
|
||||||
($page.Page.GetPage $path)
|
($page.Page.GetPage $path)
|
||||||
($page.Page.GetPage (strings.TrimRight "/" $path))
|
($page.Page.GetPage (strings.TrimRight "/" $path))
|
||||||
}}
|
|
||||||
{{- $content = .RenderShortcodes }}
|
|
||||||
{{- else with or
|
|
||||||
($page.Page.Resources.Get $path)
|
($page.Page.Resources.Get $path)
|
||||||
(resources.Get $path)
|
(resources.Get $path)
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue