You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
538 B

<a class="tile tile-link" href="{{ .url }}" data-groups='{{ if .tags }}{{ delimit .tags "," }}{{ end }}'>
<div class="tile-box"
data-title='{{ .name }}'
data-url='{{ .url }}'
{{ if .bg_color }}data-bg-color='{{ .bg_color }}'{{ end -}}
{{ if .txt_color }}data-txt-color='{{ .txt_color }}'{{ end -}}
{{ if .img }}data-img='{{ .img }}'{{ end -}}>
{{ if .img }}<img class="logo" src="{{ .img }}"></img>{{ else }}{{ .name }}{{ end }}</div>
<div class="tile-title">{{ .name }}</div>
</a>