omegamma/layouts/partials/links.html

7 lines
376 B
HTML

{{ range . }}
<div role="button" class="{{ if .Secondary }}secondary{{ else }}primary{{ end }}">
<a href="{{ .URL | safeURL }}" role="button" title="{{ .Title }}" rel="{{ if .NewTab }}nofollow {{ end }}noreferrer" {{ if .NewTab }}target="_blank"{{ end }}>
<i class="icon-{{ lower .Icon }} icon-as-text" alt="{{ .Icon }}"></i>{{ .Title }}
</a>
</div>
{{ end }}