From 26b0b8cf5127fb9ea81dc60a74882f5fec89c086 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Mon, 15 Jun 2020 18:25:06 +0200 Subject: [PATCH] data: sort terms in post information Sorts alphabetically the categories and tags in the post information. Fixes #13. Co-Authored-by: Igor Milhit --- layouts/partials/post-info.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/post-info.html b/layouts/partials/post-info.html index 89592bf..c78ca9d 100644 --- a/layouts/partials/post-info.html +++ b/layouts/partials/post-info.html @@ -6,7 +6,7 @@ {{ with .Params.categories }}
  • Catégories :
      - {{ range . }} + {{ range sort . }}
    • {{ . }}
    • {{ end }}
    @@ -15,7 +15,7 @@ {{ with .Params.tags }}
  • Tags :
      - {{ range . }} + {{ range sort . }}
    • {{ . }}
    • {{ end }}