Files
FixIt/layouts/home.readme.md
T

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%v\n\n" .Key $start (T "section.archiveCounter" .Pages.Len) -}} {{- range .Pages -}} {{- printf "- %v [%v](%v "%v")\n" (.PublishDate.Format "01-02") .Title .Permalink (.PublishDate.Format "2006-01-02 15:04:05") -}} {{- end -}} {{- printf "\n
\n" -}} {{- end -}} {{- end -}}