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:
Mike Thomas
2022-06-07 10:21:56 +09:00
committed by GitHub
co-authored by eashaw
parent 1a98548424
commit 8b3a3e2eca
6 changed files with 40 additions and 6 deletions
+1 -1
View File
@@ -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}`);
}