From 180ae3165a6a9231eb4fe33d58711c536d74bfb4 Mon Sep 17 00:00:00 2001 From: Rachel Date: Fri, 7 Jun 2024 16:15:21 -0400 Subject: [PATCH] [Tweak] Update "search filters" displayed on the blog's front page (#2480) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # [Tweak] Update "search filters" on blog's front page ## Current Behavior ``` 1. Go to `blog/` 2. Select "🏷️ Blockquotes" "search filter" => `blog/category/blockquotes/` returns 404 ``` current-01-blog-filters current-02-category-blockquotes
## Resolution in PR 1. Append 'blockquotes' to [`display_tags`](https://github.com/alshedivat/al-folio/pull/2480/files#diff-ecec67b0e1d7e17a83587c6d27b6baaaa133f42482b07bd3685c77f34b62d883R295) 2. Replace 'blockquotes' with 'external-services' in `display_categories` => Display 'blockquotes' tag and 'external-services' category on blog's front page v2-01
v2-02 v2-03 --- _config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 9772e2a..092d667 100644 --- a/_config.yml +++ b/_config.yml @@ -292,8 +292,8 @@ jekyll-archives: tag: "/blog/tag/:name/" category: "/blog/category/:name/" -display_tags: ["formatting", "images", "links", "math", "code"] # these tags will be displayed on the front page of your blog -display_categories: ["blockquotes"] # these categories will be displayed on the front page of your blog +display_tags: ["formatting", "images", "links", "math", "code", "blockquotes"] # these tags will be displayed on the front page of your blog +display_categories: ["external-services"] # these categories will be displayed on the front page of your blog # ----------------------------------------------------------------------------- # Jekyll Scholar