From 698809bc4cf088a56910b34adaad9ef1ecb67b5c Mon Sep 17 00:00:00 2001 From: Guillaume Grossetie Date: Tue, 16 Nov 2021 09:27:16 +0100 Subject: [PATCH] Do not override page-industries and page-uses-cases --- lib/graphgists.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/graphgists.js b/lib/graphgists.js index e8170dc..2795c20 100644 --- a/lib/graphgists.js +++ b/lib/graphgists.js @@ -250,9 +250,6 @@ function createGraphGistPage(graphGist) { // Assign additional attributes on pages function assignPageAttributes(graphGists, contentCatalog, asciidocConfig) { - const categoryPagesMap = generateCategoryPagesMap(graphGists, contentCatalog) - const allIndustries = Array.from(categoryPagesMap.values()).filter((value) => value.type === 'industry') - const allUseCases = Array.from(categoryPagesMap.values()).filter((value) => value.type === 'use-case') for (const graphGist of graphGists) { const page = getById(contentCatalog, { family: 'page', @@ -276,8 +273,6 @@ function assignPageAttributes(graphGists, contentCatalog, asciidocConfig) { 'page-illustration': imageUrl, 'page-uuid': graphGist.uuid, 'page-slug': graphGist.slug, - 'page-industries': allIndustries, - 'page-use-cases': allUseCases, 'page-browserGuideUrl': `https://guides.neo4j.com/graph-examples/${graphGist.slug}/graph_guide` } if (browserGuideAttachment) {