GoGronkh/gserver/templates/lts.html
Andreas Mieke f6259a8160 Rewirte of parser and server
Changed database layout and using Go path for source now
2015-09-26 00:33:55 +02:00

18 lines
733 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-3 large-block-grid-4">
{{ range .data }}
<li>
<a class="th" href="/testet/{{ .LT.Slug.String }}/">
<img src="{{ if .LT.ThumbS.Valid }}{{ .LT.ThumbS.String }}{{ else }}https://placeholdit.imgix.net/~text?txtsize=72&txt=Kein%20Thumbnail&w=640&h=360{{ 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" . }}