mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-08 23:40:40 +02:00
tpl/tplimpl: Change calls to simple versions of embedded shortcodes
Closes #13700
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
6def5a1ba9
commit
81426998b8
@@ -1,7 +1,7 @@
|
||||
{{- $pc := site.Config.Privacy.X -}}
|
||||
{{- if not $pc.Disable -}}
|
||||
{{- if $pc.Simple -}}
|
||||
{{- template "_internal/shortcodes/x_simple.html" . -}}
|
||||
{{- template "_shortcodes/x_simple.html" . -}}
|
||||
{{- else -}}
|
||||
{{- $id := or (.Get "id") "" -}}
|
||||
{{- $user := or (.Get "user") "" -}}
|
||||
|
Reference in New Issue
Block a user