From d89edf3e1b31baed524e5866b6d58fdc7dcad5f6 Mon Sep 17 00:00:00 2001
From: tobinjt <johntobin@johntobin.ie>
Date: Tue, 20 Nov 2018 18:19:10 +0000
Subject: [PATCH] Add trailing slash to remove redirects. (#112)

---
 layouts/partials/taxonomy/categories.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/taxonomy/categories.html b/layouts/partials/taxonomy/categories.html
index 8be7d71..1dfa641 100644
--- a/layouts/partials/taxonomy/categories.html
+++ b/layouts/partials/taxonomy/categories.html
@@ -4,6 +4,6 @@
     {{- if gt $index 0 }}
       <span class="separator">•</span>
     {{- end }}
-    <a href="{{ ( print "categories/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a>
+    <a href="{{ ( printf "categories/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a>
   {{- end -}}
 </div>

--
Gitblit v1.10.0