startpage/templates/bookmark.html
Timon Ringwald 51f56c14a1 fixed bugs
2022-09-06 12:00:43 +02:00

4 lines
350 B
HTML

<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 }}'>
<div class="background" style='background-image: url("{{ .Image | url }}"); background-size: {{ .GetImageSize }}'></div>
</a>