~ruther/blog

blog/themes/poison/layouts/shortcodes/tab.html -rw-r--r-- 291 bytes
1e4dd2e3 — Rutherther chore: add rsync 9 months ago
                                                                                
1
2
3
4
5
6
{{ $tabName := .Get "tabName" }}
{{ $tabContent := .Inner }}
{{ $tabID := delimit (shuffle (slice "a" "b" "c" "d" "e" "f")) "" }}
{{ .Parent.Scratch.Add "tabName" (slice $tabName) }}
{{ .Parent.Scratch.Add "tabContent" (slice $tabContent) }}
{{ .Parent.Scratch.Add "tabID" (slice $tabID) }}