diff --git a/exampleSite/content/shortcodes/siteparam.en.md b/exampleSite/content/shortcodes/siteparam.en.md index 2ddd694ffc..8a9989f174 100644 --- a/exampleSite/content/shortcodes/siteparam.en.md +++ b/exampleSite/content/shortcodes/siteparam.en.md @@ -12,7 +12,6 @@ While the examples are using shortcodes with named parameter you are free to use {{< tabs groupid="shortcode-parameter">}} {{% tab title="shortcode" %}} - ````go {{%/* siteparam name="editURL" */%}} ```` diff --git a/layouts/partials/shortcodes/openapi.html b/layouts/partials/shortcodes/openapi.html index 7e1c2826e6..6c8e444519 100644 --- a/layouts/partials/shortcodes/openapi.html +++ b/layouts/partials/shortcodes/openapi.html @@ -15,7 +15,7 @@
{{- .Store.Set "hasOpenapi" true }} diff --git a/layouts/partials/shortcodes/siteparam.html b/layouts/partials/shortcodes/siteparam.html index e477be730f..3bb3b74c64 100644 --- a/layouts/partials/shortcodes/siteparam.html +++ b/layouts/partials/shortcodes/siteparam.html @@ -11,7 +11,7 @@ {{- $params = index . (lower $paramName) }} {{- end }} {{- end }} -{{- if $params }} - {{- $params | .RenderString }} +{{- with $params }} + {{- . }} {{- end }} {{- end }} \ No newline at end of file diff --git a/layouts/partials/shortcodes/tabs.html b/layouts/partials/shortcodes/tabs.html index 5eaa662e1d..1fca1b2a92 100644 --- a/layouts/partials/shortcodes/tabs.html +++ b/layouts/partials/shortcodes/tabs.html @@ -65,10 +65,10 @@ class="tab-nav-button tab-panel-style cstyle {{ .style }}{{ cond (eq $idx 0) " active" ""}}"{{ if .color }} style="--VARIABLE-BOX-color: {{ .color }};"{{ end }} onclick="switchTab('{{ $groupid }}','{{ .itemid }}')" > -