{{ $type := .Get "type" }} {{ $body := .Get "body" | default .Inner }} {{ $isghost := .Get "isghost" }} {{ $isblock := .Get "isblock" }} {{ $action := .Get "action" }} {{ $target := .Get "target" }} {{ $method := .Get "method" }} {{ partial "components/button" (dict "type" $type "body" $body "isghost" $isghost "isblock" $isblock "action" $action "target" $target "method" $method) }}