huge upgrade to theme and pagefind search bar.
This commit is contained in:
10
themes/hugo-book.backup/layouts/_shortcodes/tabs.html
Normal file
10
themes/hugo-book.backup/layouts/_shortcodes/tabs.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{- $attributes := partial "docs/text/mapper" (dict
|
||||
"attributes" (cond .IsNamedParams .Params dict)
|
||||
"merge" (dict
|
||||
"class" "book-tabs"
|
||||
)
|
||||
) -}}
|
||||
<div {{ partial "docs/html-attrs" $attributes | safeHTMLAttr }}>
|
||||
{{- .Inner -}}
|
||||
</div>
|
||||
{{- /* remove whitespaces */ -}}
|
||||
Reference in New Issue
Block a user