site_depotoire/layouts/shortcodes/button.html

8 lines
313 B
HTML
Raw Permalink Normal View History

<a class="cadre" href="{{ .Get "href" }}" title="{{ .Get "title" }}">
<span class="element">
{{ .Get "title" }} <br />
<img src="img/{{ if .Get "src"}}{{ .Get "src" }}{{ else }}{{ .Page.Site.Params.default_img }}{{ end }}" alt="{{ .Get "title" }} icon" title="{{ .Get "title" }}" />
</span>
</a>