1
Fork 0

Add generic button shortcode

This commit is contained in:
Jake Howard 2018-01-27 20:16:20 +00:00
parent 5c6faad7ee
commit dad0cf720e
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -0,0 +1,5 @@
{{ $style := default "btn-outline-dark" (.Get "style" )}}
<a class="btn {{ $style }} my-2" href='{{ .Get "src" }}'>
{{ .Inner }}
</a>