|
|
@@ -38,6 +38,7 @@ function readMarkdownFrontmatter(filePath) { |
|
|
|
gallery: Array.isArray(metadata.gallery) ? metadata.gallery : [], |
|
|
|
capacities: Array.isArray(metadata.capacities) ? metadata.capacities : [], |
|
|
|
products: Array.isArray(metadata.products) ? metadata.products : [], |
|
|
|
audiences: metadata.audiences, |
|
|
|
id: metadata.id || '' |
|
|
|
}; |
|
|
|
} catch (err) { |
|
|
@@ -183,6 +184,7 @@ function getCategories(locale) { |
|
|
|
summary: metadata.summary, |
|
|
|
capacities: metadata.capacities, |
|
|
|
sort: metadata.sort, |
|
|
|
audiences: metadata.audiences, |
|
|
|
}; |
|
|
|
}); |
|
|
|
} catch (err) { |