dev tabs system
This commit is contained in:
8
layouts/shortcodes/tab.html
Normal file
8
layouts/shortcodes/tab.html
Normal file
@ -0,0 +1,8 @@
|
||||
{{ $tabName := .Get "tabName" }}
|
||||
{{ .Parent.Scratch.Add "tabName" (slice $tabName) }}
|
||||
|
||||
<div class="" x-show="openTab === {{ .Ordinal }}">
|
||||
|
||||
{{ $.Inner | markdownify }}
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user