dev tabs system

This commit is contained in:
2022-02-16 22:12:11 +01:00
parent b3f0b01531
commit df49634fd4
5 changed files with 309 additions and 0 deletions

View File

@ -0,0 +1,8 @@
{{ $tabName := .Get "tabName" }}
{{ .Parent.Scratch.Add "tabName" (slice $tabName) }}
<div class="" x-show="openTab === {{ .Ordinal }}">
{{ $.Inner | markdownify }}
</div>