From 5f3c487b7f74f1e6a44912cab2742d7293bbd36a Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sun, 16 Oct 2022 14:06:52 +0300 Subject: [PATCH] Slugify tag and category links (#947) Fixes links to jekyll-archive pages when tag/category contains spaces. --- _layouts/post.html | 4 ++-- blog/index.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index cd95734..f571c65 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -23,7 +23,7 @@ layout: default {%- if tags != "" %}   ·   {% for tag in page.tags -%} - + {{ tag }}   {% endfor -%} {% endif %} @@ -31,7 +31,7 @@ layout: default {%- if categories != "" %}   ·   {% for category in page.categories -%} - + {{ category }}   {% endfor -%} {% endif %} diff --git a/blog/index.html b/blog/index.html index 2cdce8b..35aaaa0 100644 --- a/blog/index.html +++ b/blog/index.html @@ -25,7 +25,7 @@ pagination: