blob: 6446f3c959d67782e0d149629a827fef0a8f752c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{{ $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-dashed border-thick" }}
{{ end }}
<div class="child-borders">
<p class="sm col {{ $class }}">
{{ .Inner }}
</p>
</div>
|