From f24f2d15275961f1c0144e68fde75a60aeaaa165 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Mon, 23 Jan 2023 22:20:47 -0500 Subject: move to bear theme --- themes/even/layouts/_default/section.html | 50 ------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 themes/even/layouts/_default/section.html (limited to 'themes/even/layouts/_default/section.html') diff --git a/themes/even/layouts/_default/section.html b/themes/even/layouts/_default/section.html deleted file mode 100644 index fbe80f1..0000000 --- a/themes/even/layouts/_default/section.html +++ /dev/null @@ -1,50 +0,0 @@ -{{ define "title" }}{{ T "archive" }} - {{ .Site.Title }}{{ end }} - -{{ define "content"}} -{{- $paginator := .Paginate .Data.Pages.ByDate.Reverse .Site.Params.archivePaginate }} -
- {{- if and (not $paginator.HasPrev) .Site.Params.showArchiveCount }} -
- - {{ T "archiveCounter" (len .Data.Pages) }} - -
- {{- end -}} - - {{- range $index, $element := $paginator.Pages -}} - {{- $thisYear := $element.Date.Format "2006" }} - {{- $lastElement := $index | add -1 | index $paginator.Pages }} - {{ if or (eq $index 0) ( ne ($lastElement.Date.Format "2006") $thisYear ) }} -
-

{{ $thisYear }}

-
- {{- end }} - -
- - {{ $element.Date.Format "01-02" }} - - - - {{ .Title }} - - -
- {{- end -}} -
- - -{{ end }} -- cgit v1.2.3