2017-05-19 00:52:37 +02:00
|
|
|
<a class="tile tile-link" href="{{ .Link.url }}" data-groups='{{ if .Link.tags }}{{ delimit .Link.tags "," }}{{ end }}'{{ if .Jump }} target="_blank"{{ end }}>
|
2017-05-16 00:30:37 +02:00
|
|
|
<div class="tile-box"
|
2017-05-19 00:52:37 +02:00
|
|
|
data-title='{{ .Link.name }}'
|
|
|
|
data-url='{{ .Link.url }}'
|
|
|
|
{{ if .Link.bg_color }}data-bg-color='{{ .Link.bg_color | safeCSS }}'{{ end -}}
|
|
|
|
{{ if .Link.txt_color }}data-txt-color='{{ .Link.txt_color | safeCSS }}'{{ end -}}
|
|
|
|
{{ if .Link.img }}data-img='{{ .Link.img }}'{{ end -}}>
|
|
|
|
{{ if .Link.img }}<img class="logo" src="{{ .Link.img }}"></img>{{ else }}{{ .Link.name }}{{ end }}</div>
|
|
|
|
<div class="tile-title">{{ .Link.name }}</div>
|
2017-05-16 00:30:37 +02:00
|
|
|
</a>
|