cupper-hugo-theme/themes/infusion/layouts/_default/list.html
2017-06-28 10:34:21 +01:00

19 lines
460 B
HTML

{{ define "main" }}
<main id="main">
<h1>
{{ $URLparts := split .URL "/" }}
{{ if in $URLparts "tags" }}
<svg class="tag" aria-hidden="true" height="50" width="50" viewBox="0 0 177.16535 177.16535">
<use xlink:href="#tag"></use>
</svg>
{{ end }}
{{ .Title }}
</h1>
<ul class="patterns-list">
{{ range .Data.Pages }}
{{ .Render "li"}}
{{ end }}
</ul>
</main>
{{ end }}