2025-01-09 11:12:55 +01:00

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>
{{- "" -}}