Skip to content

Commit

Permalink
Merge pull request #1320 from hlxsites/add-solution-meta
Browse files Browse the repository at this point in the history
Added solution metadata
  • Loading branch information
rgravitvl authored Dec 9, 2024
2 parents 5a496e2 + 1fb9491 commit 66fd779
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/importer/transformers/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 66fd779

Please sign in to comment.