blob: 75f00068641c98be372093279840b3c0ed4b57bb (
plain)
1
2
3
4
5
6
7
|
<!-- Boutton -->
<link rel="stylesheet" type="text/css" href='{{ (resources.Get "sass/shortcodes/button.scss" | toCSS).Permalink }}'>
{{ with .Get "align" }}<center>{{end}}
<button class="btn {{with .Get "theme"}}{{.}}{{else}}primary{{end}}" type="button" {{ with .Get "href" }} onclick="location.href='{{.}}'"{{end}} {{ if .Get "ref" }} onclick="location.href='{{relref . (.Get "ref") }}'"{{end}}>{{.Inner | markdownify}}</button>
{{ with .Get "align" }}</center>{{end}}
<!-- Boutton -->
|