33 lines
670 B
HTML
33 lines
670 B
HTML
{{ define "main" }}
|
|
<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">
|
|
{{ range .Pages.ByPublishDate.Reverse }}
|
|
<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>
|
|
{{ end }}
|
|
</ul>
|
|
</main>
|
|
{{ end }}
|