From ca613963ab9b507331a17f8f156430343e17010d Mon Sep 17 00:00:00 2001 From: Bryan Stopp Date: Tue, 26 Mar 2024 13:57:32 -0400 Subject: [PATCH] Remove Uncategorized category --- cigaradvisor/docs/create-category.md | 7 ------- cigaradvisor/scripts/util.js | 1 - cigaradvisor/sitemap_index.xml | 21 +++++++++------------ fstab.yaml | 3 --- helix-query.yaml | 6 ------ helix-sitemap.yaml | 5 ----- 6 files changed, 9 insertions(+), 34 deletions(-) diff --git a/cigaradvisor/docs/create-category.md b/cigaradvisor/docs/create-category.md index 6b81067f..47135757 100644 --- a/cigaradvisor/docs/create-category.md +++ b/cigaradvisor/docs/create-category.md @@ -20,9 +20,6 @@ In here you just need to copy one of the existing category indices and replace a + exclude: *excludes + target: /cigaradvisor/index/article-index-cuban-cigar-guides.json + properties: *articles_properties - uncategorized: - include: - - /cigaradvisor/uncategorized/* ``` The `pages`, `categories`, `authors` and `article` indices also contain a list of all the category paths in either their `includes` or `excludes`. Add the path of the new category (matching the structure of the other categories) to all of these lists. @@ -42,10 +39,6 @@ In here you just need to copy one of the existing category indices and replace a + source: /cigaradvisor/index/article-index-.json + destination: /cigaradvisor/article-sitemap-.xml + lastmod: YYYY-MM-DD hh:mm:ss - uncategorized: - origin: https://www.famous-smoke.com - source: /cigaradvisor/index/article-index-uncategorized.json - ``` ## Step 3: Apply the configuration changes diff --git a/cigaradvisor/scripts/util.js b/cigaradvisor/scripts/util.js index 99d900ed..de804626 100644 --- a/cigaradvisor/scripts/util.js +++ b/cigaradvisor/scripts/util.js @@ -8,7 +8,6 @@ const categories = [ 'cigars-101', 'cocktail', 'cuban-cigar-guides', - 'uncategorized', ]; // Function to create ellipsis diff --git a/cigaradvisor/sitemap_index.xml b/cigaradvisor/sitemap_index.xml index c5887f07..b079242a 100644 --- a/cigaradvisor/sitemap_index.xml +++ b/cigaradvisor/sitemap_index.xml @@ -9,33 +9,30 @@ https://www.famous-smoke.com/cigaradvisor/author-sitemap.xml - https://www.famous-smoke.com/cigaradvisor/article-sitemap--buying-guides.xml + https://www.famous-smoke.com/cigaradvisor/article-sitemap-buying-guides.xml - https://www.famous-smoke.com/cigaradvisor/article-sitemap--cigar-humidification.xml + https://www.famous-smoke.com/cigaradvisor/article-sitemap-cigar-humidification.xml - https://www.famous-smoke.com/cigaradvisor/article-sitemap--cigar-lifestyle.xml + https://www.famous-smoke.com/cigaradvisor/article-sitemap-cigar-lifestyle.xml - https://www.famous-smoke.com/cigaradvisor/article-sitemap--cigar-makers.xml + https://www.famous-smoke.com/cigaradvisor/article-sitemap-cigar-makers.xml - https://www.famous-smoke.com/cigaradvisor/article-sitemap--industry-news.xml + https://www.famous-smoke.com/cigaradvisor/article-sitemap-industry-news.xml - https://www.famous-smoke.com/cigaradvisor/article-sitemap--cigar-reviews.xml + https://www.famous-smoke.com/cigaradvisor/article-sitemap-cigar-reviews.xml - https://www.famous-smoke.com/cigaradvisor/article-sitemap--cigars-101.xml + https://www.famous-smoke.com/cigaradvisor/article-sitemap-cigars-101.xml - https://www.famous-smoke.com/cigaradvisor/article-sitemap--cocktail.xml + https://www.famous-smoke.com/cigaradvisor/article-sitemap-cocktail.xml - https://www.famous-smoke.com/cigaradvisor/article-sitemap--cuban-cigar-guides.xml - - - https://www.famous-smoke.com/cigaradvisor/article-sitemap--uncategorized.xml + https://www.famous-smoke.com/cigaradvisor/article-sitemap-cuban-cigar-guides.xml diff --git a/fstab.yaml b/fstab.yaml index 38cae997..5db522c1 100644 --- a/fstab.yaml +++ b/fstab.yaml @@ -1,5 +1,2 @@ mountpoints: /: https://famoussmokeshop.sharepoint.com/:f:/r/sites/AEM/webroot/www/cigaradvisor - -folders: - /cigaradvisor/posts/: /cigaradvisor/posts diff --git a/helix-query.yaml b/helix-query.yaml index 97b86783..dc3496b1 100644 --- a/helix-query.yaml +++ b/helix-query.yaml @@ -259,9 +259,3 @@ indices: exclude: *excludes target: /cigaradvisor/index/article-index-cuban-cigar-guides.json properties: *articles_properties - uncategorized: - include: - - /cigaradvisor/uncategorized/* - exclude: *excludes - target: /cigaradvisor/index/article-index-uncategorized.json - properties: *articles_properties diff --git a/helix-sitemap.yaml b/helix-sitemap.yaml index a1078afb..7d5c4683 100644 --- a/helix-sitemap.yaml +++ b/helix-sitemap.yaml @@ -59,8 +59,3 @@ sitemaps: source: /cigaradvisor/index/article-index-cuban-cigar-guides.json destination: /cigaradvisor/article-sitemap-cuban-cigar-guides.xml lastmod: YYYY-MM-DD hh:mm:ss - uncategorized: - origin: https://www.famous-smoke.com - source: /cigaradvisor/index/article-index-uncategorized.json - destination: /cigaradvisor/article-sitemap-uncategorized.xml - lastmod: YYYY-MM-DD hh:mm:ss