From 6a1d7d2e41297b180117027f9af2b60d57ef5554 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 22 Aug 2023 21:11:38 +0300 Subject: [PATCH] Update example.html --- site/layouts/shortcodes/example.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html index a162db521d49..5b398e6814fc 100644 --- a/site/layouts/shortcodes/example.html +++ b/site/layouts/shortcodes/example.html @@ -13,23 +13,23 @@ {{- $id := .Get "id" -}} {{- $class := .Get "class" -}} {{- $lang := .Get "lang" | default "html" -}} -{{- $stackblitz_add_js := .Get "stackblitz_add_js" | default false -}} {{- $show_markup := .Get "show_markup" | default true -}} {{- $show_preview := .Get "show_preview" | default true -}} -{{- $input := .Inner -}} +{{- $stackblitz_add_js := .Get "stackblitz_add_js" | default false -}} + {{- $content := .Inner -}}
- {{- if eq $show_preview true -}} + {{- if eq $show_preview true }} - {{- $input -}} + {{ $content }}
- {{- end -}} + {{- end }} {{- if eq $show_markup true -}} {{- if eq $show_preview true -}}
- {{- $lang -}} + {{ $lang }}