-
-
Save christiannwamba/0569daef08de96a0572d31ff85e18c81 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metalsmith(__dirname) | |
.source('src') | |
.use(collections({ | |
articles: { | |
pattern: 'articles/**/*.md', | |
sortBy: 'date', | |
reverse: true | |
} | |
})) | |
.use(markdown({ | |
gfm: true, | |
tables: true, | |
})) | |
.use(assets({ | |
source: 'src/assets/', | |
destination: './' | |
})) | |
.use(permalinks()) | |
.use(templates({ | |
engine: 'jade', | |
directory: 'templates' | |
})) | |
.destination('build'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment