From 1fb94910116bbb765f36bb1a6339ee5bf9959720 Mon Sep 17 00:00:00 2001 From: rgravitvl Date: Mon, 9 Dec 2024 19:22:25 +0530 Subject: [PATCH] Added solution metadata --- tools/importer/transformers/metadata.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/importer/transformers/metadata.js b/tools/importer/transformers/metadata.js index dae7e0bc5..6eab857b1 100644 --- a/tools/importer/transformers/metadata.js +++ b/tools/importer/transformers/metadata.js @@ -129,6 +129,11 @@ const createMetadata = (main, document, html, params, urlStr) => { meta.topics = topic.content; } + const solutions = document.querySelector('[name="solutions"]'); + if (solutions && solutions.content) { + meta.solutions = solutions.content; + } + const workflow = document.querySelector('[name="workflow"]'); if (workflow && workflow.content) { meta.workflows = workflow.content;