6 lines
122 B
JavaScript
6 lines
122 B
JavaScript
|
module.exports = (coll) => {
|
||
|
const posts = [...coll.getFilteredByGlob('src/posts/*.md')];
|
||
|
|
||
|
return posts.reverse();
|
||
|
};
|