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

6 lines
191 B
HTML

<div class="box box--avatar">
{{ with .Get "link" }}<a href="{{.}}">{{ end }}
<img src="{{ .Page.Params.imagespath }}{{ .Get "filename" }}"/>
{{ with .Get "link" }}</a>{{ end }}
</div>