{{ $direction := .Get "direction" | default "forward"}} {{ $href := .Get "href" }} {{ $col_id := .Get "color" | default "transparent" }} {{ $class := .Get "class" | default "" }} {{ $arrow_col := .Get "arrow" | default "primary" }} {{ $text_align := cond (eq $direction "forward") "text-left" "text-right" }}
{{ with eq $direction "back" }} {{ end }}

{{ .Inner }}

{{ with eq $direction "forward" }} {{ end }}