apply reverse chronology sort on articles
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = function (eleventyConfig) {
|
||||
eleventyConfig.addPassthroughCopy("src/app-demo");
|
||||
|
||||
eleventyConfig.addCollection('blogs', function (collection) {
|
||||
return collection.getFilteredByGlob('src/blog/*.md');
|
||||
return collection.getFilteredByGlob('src/blog/*.md').reverse();
|
||||
});
|
||||
|
||||
eleventyConfig.addWatchTarget("src/css");
|
||||
|
||||
Reference in New Issue
Block a user