startpage/templates/bookmark.html

4 lines
350 B
HTML
Raw Permalink Normal View History

2022-09-05 14:17:07 +02:00
<a href="{{ .Link }}" class="bookmark" style='background-color: {{ .GetColor }}; {{ if not .HideBorder }} box-shadow: 0px 0px 3px black; {{ end }}; {{ if not (eq .IconPadding "") }} padding: {{ .IconPadding }}; {{ end }}'>
2022-09-06 12:00:43 +02:00
<div class="background" style='background-image: url("{{ .Image | url }}"); background-size: {{ .GetImageSize }}'></div>
2022-09-05 14:17:07 +02:00
</a>