diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index 0bd5bfb..02d0ca1 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -6,8 +6,9 @@ {{ if .IsHome }}

{{ site.Params.indexTitle | markdownify }}

{{ else }} -

{{ .Title | markdownify }}{{ if eq .Kind "term" }}  

{{ end }} -{{ end }} +

{{ .Title | markdownify }}{{ if eq .Kind "term" }}  

+ {{ with .Description }}{{ . }}
{{ else }}
{{ end }} +{{ end }}{{ end }} {{ .Content }} @@ -24,8 +25,21 @@ {{- end }} {{- else }} - {{- range .Pages }} - {{ .Title | markdownify }}
+ {{- range .Pages.ByDate.Reverse }} + {{- $postDate := .Date.Format "2006-01-02" }} + {{- $updateDate := .Lastmod.Format "2006-01-02" }} +
+
+

{{ .Title | markdownify }}

+ +
+
+ {{ .Description }} +
+
+
{{ end }} {{- end }} {{- else }} @@ -39,11 +53,10 @@ ["{{- $postDate }}"{{- if ne $postDate $updateDate }}, "{{ $updateDate }}"{{ end }}]

-
{{ .Summary }}
-
+
{{- end }} {{- template "_internal/pagination.html" . }}