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"
|
2020-07-10 20:59:32 +02:00
|
|
|
placeholder="{{ T "search_placeholder" }}"
|
|
|
|
aria-label="{{ T "search_aria_label" }}"
|
2020-06-21 05:16:24 +02:00
|
|
|
/>
|
|
|
|
{{ 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>
|
2020-11-25 03:51:01 +01:00
|
|
|
<a href="{{ .RelPermalink }}">
|
2020-06-21 05:16:24 +02:00
|
|
|
<svg
|
|
|
|
class="bookmark"
|
|
|
|
aria-hidden="true"
|
|
|
|
viewBox="0 0 40 50"
|
|
|
|
focusable="false"
|
|
|
|
>
|
2022-05-31 04:33:30 +02:00
|
|
|
<use href="#bookmark"></use>
|
2020-06-21 05:16:24 +02:00
|
|
|
</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 }}
|