Elektromarket/templates/index.html

14 lines
422 B
HTML
Raw Normal View History

{{define "content"}}
<h1>Kategorie</h1>
{{range $.categories}}
<a href="/category?id={{ .Id }}">
<div class="categoryTile">
<div class="categoryTileContent">
2018-10-27 17:30:25 +02:00
<div class="categoryIcon" style="background-image: url(/static/icons/{{ .Name }}.png);"></div>
<div class="categoryName">{{ .Name }}</div>
</div>
</div>
</a>
{{end}}
{{end}}