GoGronkh/gserver/templates/lts.html
Andreas Mieke 0e5c002d13 gserver: Adding alt tags to img
Also changing the textsize of the not found placeholders
2015-09-27 11:10:28 +02:00

19 lines
772 B
HTML

{{ template "header.html" . }}
<div class="row">
<div class="large-12 columns">
<h1>{{ .title }}</h1>
<ul class="small-block-grid-2 medium-block-grid-4 large-block-grid-5">
{{ range .data }}
<li>
<a class="th" href="/testet/{{ .LT.Slug.String }}/">
<img alt="{{ .LT.Name.String }} Thumbnail" src="{{ if .LT.ThumbS.Valid }}{{ .LT.ThumbS.String }}{{ else }}https://placeholdit.imgix.net/~text?txtsize=36&txt=Kein%20Thumbnail&w=265&h=149{{ end }}" /></a>
</a>
<br /><a href="/testet/{{ .LT.Slug.String }}/"><strong>{{ .LT.Name.String }}</strong></a>
<br />von <a href="/zeige/{{ .AT.Slug.String }}/">{{ .AT.Name.String }}</a>
</li>
{{ end }}
</ul>
</div>
</div>
{{ template "footer.html" . }}