We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 028f5d6 commit 79f9df9Copy full SHA for 79f9df9
src/posts.js
@@ -1,7 +1,5 @@
1
import all from '../posts/*.md'
2
3
-export const posts = all
4
-
5
export const posts = _.chain(all) // begin a chain
6
.map(transform) // transform the shape of each post
7
.orderBy('date', 'desc') // sort by date descending
0 commit comments