diff --git a/layouts/partials/list_item.html b/layouts/partials/list_item.html index 5f921d3..c02ca01 100644 --- a/layouts/partials/list_item.html +++ b/layouts/partials/list_item.html @@ -18,7 +18,7 @@ {{ end }}
-
{{ .Title }}
+

{{ .Title }}

{{ partial "content-details.html" . }}

{{ partial "summary.html" . }}

diff --git a/layouts/posts/list.html b/layouts/posts/list.html index edf1903..6cc87ba 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -14,11 +14,11 @@ {{ range .Pages.GroupByDate "2006-01" }} {{ $month := print .Key "-01" }} {{ $display := dateFormat "2006-01" $month }} -

+

-

+ {{ range (sort .Pages "Date" "desc") }} {{ partial "list_item.html" . }} {{ end }}