summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/tabs.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/shortcodes/tabs.html b/layouts/shortcodes/tabs.html
index 7aace73..982f6a0 100644
--- a/layouts/shortcodes/tabs.html
+++ b/layouts/shortcodes/tabs.html
@@ -3,13 +3,13 @@
{{ $group := printf "tabs-%s" $id }}
<div class="book-tabs">
-{{- range $index, $tab := .Scratch.Get $group -}}
+{{- range $index, $tab := .Scratch.Get $group -}}
<input type="radio" class="hidden" name="{{ $group }}" id="{{ printf "%s-%d" $group $index }}" {{ if not $index }}checked="checked"{{ end }} />
<label for="{{ printf "%s-%d" $group $index }}">
- {{ $tab.Name }}
+ {{- $tab.Name -}}
</label>
<div class="book-tabs-content markdown-inner">
- {{ .Content | markdownify }}
+ {{- .Content | markdownify -}}
</div>
{{- end -}}
</div>