cupper-hugo-theme/layouts/_default/list.html

33 lines
670 B
HTML
Raw Normal View History

2017-11-02 16:39:45 +01:00
{{ define "main" }}
2020-06-21 05:16:24 +02:00
<main id="main">
<h1>{{ .Title }}</h1>
{{ if site.Params.search }}
<input
id="search"
type="text"
placeholder="Search by title..."
aria-label="Search by title"
/>
{{ end }}
<ul class="patterns-list" id="list">
2019-02-13 06:11:59 +01:00
{{ range .Pages.ByPublishDate.Reverse }}
2020-06-21 05:16:24 +02:00
<li>
<h2>
<a href="{{ .Permalink }}">
<svg
class="bookmark"
aria-hidden="true"
viewBox="0 0 40 50"
focusable="false"
>
<use xlink:href="#bookmark"></use>
</svg>
{{ .Title }}
</a>
</h2>
</li>
2019-02-13 06:11:59 +01:00
{{ end }}
2020-06-21 05:16:24 +02:00
</ul>
</main>
2017-11-02 16:39:45 +01:00
{{ end }}