mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
875 B
875 B
[{{ .Site.Title }}]({{ .Site.Home.Permalink }} "{{ T "single.home" }}")
{{ .Site.Params.description }}
{{ $pages := .Site.Store.Get "mainSectionPages" -}} {{- $pages = where $pages "Draft" "eq" false -}} {{- $currentYear := now.Format "2006" -}} {{- T "section.archiveCounter" (len $pages) }} by [{{ .Site.Params.author.name }}]({{ .Site.Params.author.link }}). {{ range $pages.GroupByPublishDate "2006" }} {{- if ne .Key "0001" -}} {{- $start := cond (eq .Key $currentYear) "
" "
" -}}
{{- printf "\n## %v\n\n%v\n
\n" -}}
{{- end -}}
{{- end -}}