diff --git a/layouts/_default/section.json b/layouts/_default/section.json index 7abe6d809..25fe93cf8 100644 --- a/layouts/_default/section.json +++ b/layouts/_default/section.json @@ -1 +1 @@ -{{ dict "content" (.ProcessedContent | htmlUnescape) "params" .Params | jsonify }} \ No newline at end of file +{{ dict "content" (.RenderShortcodes | htmlUnescape) "params" .Params | jsonify }} diff --git a/layouts/_default/single.json b/layouts/_default/single.json index 7abe6d809..25fe93cf8 100644 --- a/layouts/_default/single.json +++ b/layouts/_default/single.json @@ -1 +1 @@ -{{ dict "content" (.ProcessedContent | htmlUnescape) "params" .Params | jsonify }} \ No newline at end of file +{{ dict "content" (.RenderShortcodes | htmlUnescape) "params" .Params | jsonify }} diff --git a/layouts/list.json b/layouts/list.json index fb3b93bec..852b105df 100644 --- a/layouts/list.json +++ b/layouts/list.json @@ -1,7 +1,7 @@ {{- $offlineSearchIndex := resources.Get "json/offline-search-index.json" | resources.ExecuteAsTemplate "/offline-search-index.json" . -}} {{- $offlineSearchIndexFingerprint := $offlineSearchIndex | resources.Fingerprint "sha512" -}} { - "content": {{.ProcessedContent | htmlUnescape | jsonify}}, + "content": {{.RenderShortcodes | htmlUnescape | jsonify}}, "params": {{.Params | jsonify }}, "searchIndex": {{ $offlineSearchIndexFingerprint.Permalink | jsonify }}, "pages": [ @@ -26,4 +26,4 @@ } {{- end -}} {{- end -}} -{{- end -}} \ No newline at end of file +{{- end -}} diff --git a/themes/docsy b/themes/docsy index 6523dd9e1..795119495 160000 --- a/themes/docsy +++ b/themes/docsy @@ -1 +1 @@ -Subproject commit 6523dd9e123634695413969195ba0e08b107d783 +Subproject commit 7951194954708d7cc992e3540c8fc823cc99a953