Create the-future-of-device-management-ep1.md (#6050)
* Create the-future-of-device-management-ep1.md Missing from this PR: - [ ] Set up podcast article category - [ ] Link to podcast - [ ] Podcast cover artwork - [ ] Nice to have: subheading style * PR update - added podcasts category - changed added article `category` to "podcasts" - removed placeholder `articleImageUrl` * PR update – added Apple, Spotify, and PodBean podcast links - added article artwork Co-authored-by: eashaw <caglc@live.com>
This commit is contained in:
+1
-1
@@ -406,7 +406,7 @@ module.exports = {
|
||||
if(embeddedMetadata.category) {
|
||||
// Throwing an error if the article has an invalid category.
|
||||
embeddedMetadata.category = embeddedMetadata.category.toLowerCase();
|
||||
let validArticleCategories = ['product', 'security', 'engineering', 'success stories', 'announcements', 'guides', 'releases' ];
|
||||
let validArticleCategories = ['product', 'security', 'engineering', 'success stories', 'announcements', 'guides', 'releases', 'podcasts' ];
|
||||
if(!validArticleCategories.includes(embeddedMetadata.category)) {
|
||||
throw new Error(`Failed compiling markdown content: An article page has an invalid category meta tag (<meta name="category" value="${embeddedMetadata.category}">) at "${path.join(topLvlRepoPath, pageSourcePath)}". To resolve, change the meta tag to a valid category, one of: ${validArticleCategories}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user