docs/layouts/shortcodes/badge.html

4 lines
132 B
HTML

{{ $color := .Get "color" }}
{{ $text := .Get "text" }}
{{ partial "components/badge.html" (dict "color" $color "content" $text) }}