fix: include njk files in onlyMarkdown collection, thanks @juchom
This commit is contained in:
parent
3f56328f4d
commit
4fca7b9d18
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue