Permalink
Browse files

added post collections

  • Loading branch information...
RobinThrift committed Apr 18, 2014
1 parent 669b08a commit 12c88cd4845fe6e6043766f50af552a5ead8cbde
Showing with 5 additions and 0 deletions.
  1. +5 −0 index.js
View
@@ -15,6 +15,11 @@ Metalsmith(__dirname)
.use(collections({
pages: {
pattern: 'content/pages/*.md'
+ },
+ posts: {
+ pattern: 'content/posts/*.md',
+ sortBy: 'date',
+ reverse: true
}
}))
.use(markdown())

0 comments on commit 12c88cd

Please sign in to comment.