Skip to content

Commit

Permalink
Only include content pages in ordered collection
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 18, 2023
1 parent e160cf6 commit 0d556aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/collections/ordered.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = (collection) =>
collection
.getAll()
.getFilteredByGlob('**/*.md')
.filter((item) => !/^tag/.test(item.data.layout))
.sort((a, b) => {
if (
Expand Down

0 comments on commit 0d556aa

Please sign in to comment.