uci-hugo-landingpage/layouts/shortcodes/button.html

7 lines
526 B
HTML

<!-- parameters url, text, type, size color, bgcolor, padding-in padding-out -->
<div class ="box box--btn btn {{ .Get "size" ">
<!-- <a href="javascript:void( window.open('https://form.jotform.com/{{ .Get 0 }}', 'blank', 'scrollbars=yes, toolbar=no, width=700, height=500') )">{{ .Get 1 }}</a> -->
<a href="{{ .Get "url" }}">{{ .Get "text" }}</a>
<!-- <a href="javascript:void( window.open('https://form.jotform.com/{{ .Get 0 }}', 'blank', 'scrollbars=yes, toolbar=no, width=700, height=500') )">{{ .Get 1 }}</a> -->
</div>