cupper-hugo-theme/themes/inclusive-pattern-docs/layouts/_default/list.html

19 lines
460 B
HTML
Raw Normal View History

2017-06-19 11:40:21 +02:00
{{ 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 }}