14 lines
384 B
HTML
14 lines
384 B
HTML
{{/* This is an adjusted copy of themes/hugo-geekdoc/layouts/shortcodes/button.html */}}
|
|
{{- $ref := .Page.Site.Params.Flamenco.bugreportURL -}}
|
|
{{- $class := "" }}
|
|
|
|
{{- with .Get "class" }}
|
|
{{- $class = . }}
|
|
{{- end }}
|
|
|
|
<a class="{{ with $class }}{{ printf " %s" . }}{{ end }}"
|
|
{{- with $ref }}{{ printf " href=\"%s\"" . | safeHTMLAttr }}{{ end }}
|
|
>{{ $.Inner }}</a>
|
|
|
|
{{- "" -}}
|