18 lines
451 B
HTML
18 lines
451 B
HTML
{{ $arg := .Get 0 }}
|
|
{{ $class := "" }}
|
|
{{ if eq $arg "dashed" }}
|
|
{{ $class = "border-dashed" }}
|
|
{{ else if eq $arg "dotted" }}
|
|
{{ $class = "border-dotted" }}
|
|
{{ else if eq $arg "dashed thick" }}
|
|
{{ $class = "border-dashed border-thick" }}
|
|
{{ else if eq $arg "dotted thick" }}
|
|
{{ $class = "border-dotted border-thick" }}
|
|
{{ end }}
|
|
|
|
<div class="child-borders">
|
|
<div class="sm col {{ $class }}">
|
|
{{ .Inner | markdownify }}
|
|
</div>
|
|
</div>
|