diff --git a/src/_config/collections.js b/src/_config/collections.js index 8e4be3a..356d6ed 100644 --- a/src/_config/collections.js +++ b/src/_config/collections.js @@ -5,7 +5,7 @@ export const getAllPosts = collection => { /** All markdown files as a collection for sitemap.xml */ export const onlyMarkdown = collection => { - return collection.getFilteredByGlob('./src/**/*.md'); + return collection.getFilteredByGlob('./src/**/*.{md,njk}'); }; /** All tags from all posts as a collection - excluding custom collections */