From 48d793bc2d1312c4dbd87812f7d18dc3742b9e82 Mon Sep 17 00:00:00 2001 From: Austin Gebauer Date: Sat, 4 Apr 2020 22:02:54 -0700 Subject: style: sort categories --- layouts/partials/category-posts.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/category-posts.html b/layouts/partials/category-posts.html index f0447da..c89e970 100644 --- a/layouts/partials/category-posts.html +++ b/layouts/partials/category-posts.html @@ -1,7 +1,7 @@
- {{ $recent := 5 }} + {{ $recent := 7 }} {{ if .Site.Params.recent_posts }} {{ $recent = .Site.Params.recent_posts }} {{ end }} @@ -18,7 +18,7 @@
- {{ range .Site.Taxonomies.categories.ByCount }} + {{ range $key, $taxonomy := .Site.Taxonomies.categories.Alphabetical }}
@@ -26,7 +26,7 @@
    - {{ range .Pages }} + {{ range $taxonomy.Pages }}
  • {{ .Date.Format "Jan 2 2006" }} {{ .Title }} -- cgit v1.2.3