Want to contribute? Fork me on Codeberg.org!
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
sakura-hugo-theme/layouts/partials/archive.html

9 lines
325 B

3 years ago
{{ range (.Pages.GroupByDate "2006") }}
<h3>{{ .Key }}</h3>
{{ range .Pages }}
<time datetime="{{ .Date.Format " 2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "01/02" }}</time>
<a class="title" href="{{ .Params.externalLink | default .RelPermalink }}">{{ partial "content.html" .Title }}</a><br>
3 years ago
{{- end -}}
{{ end }}