2022-05-18 05:45:20 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
|
2022-05-18 11:45:04 +00:00
|
|
|
<div>
|
|
|
|
{{ if trim .Content " \n" }}
|
|
|
|
<div class="content archive-hint">{{ .Content }}</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<section id="archive">
|
|
|
|
{{ range .Data.Pages.GroupByDate "2006" }}
|
|
|
|
<div class="group">
|
|
|
|
<h3 class="key">
|
|
|
|
{{ .Key }}
|
|
|
|
</h3>
|
2022-05-18 05:45:20 +00:00
|
|
|
|
2022-05-18 11:45:04 +00:00
|
|
|
{{ range .Pages }}
|
|
|
|
<div class="value">
|
|
|
|
<time class="date" datetime="{{ .PublishDate }}">{{ .PublishDate.Format "01/02" }}</time>
|
2022-05-18 05:45:20 +00:00
|
|
|
|
2022-05-18 11:45:04 +00:00
|
|
|
<div class="title">
|
2022-05-18 05:45:20 +00:00
|
|
|
|
2022-05-18 11:45:04 +00:00
|
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
2022-05-18 05:45:20 +00:00
|
|
|
|
2022-05-18 11:45:04 +00:00
|
|
|
{{ with .Params.tags }}
|
|
|
|
{{ range . }}
|
2022-09-04 11:11:04 +00:00
|
|
|
<a class="tags" href="{{ "tags/" | relURL }}{{ . | urlize }}">{{ . }}</a>
|
2022-05-18 11:45:04 +00:00
|
|
|
{{ end }}
|
2022-05-18 05:45:20 +00:00
|
|
|
{{ end }}
|
|
|
|
|
2022-05-18 11:45:04 +00:00
|
|
|
</div>
|
2022-05-18 05:45:20 +00:00
|
|
|
</div>
|
2022-05-18 11:45:04 +00:00
|
|
|
{{ end }}
|
2022-05-18 05:45:20 +00:00
|
|
|
|
2022-05-18 11:45:04 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2022-05-18 05:45:20 +00:00
|
|
|
|
2022-05-18 11:45:04 +00:00
|
|
|
</section>
|
|
|
|
</div>
|
2022-05-18 05:45:20 +00:00
|
|
|
|
|
|
|
{{ end }}
|