Closed bebraw closed 9 years ago
By the looks of it, maybe all we need to do is to enable recursive lookup for require.context at paths.js
.
Given we have a plugin system in place now, we could implement one to parse date from post metadata. Even url slugifying mechanism could be moved outside. What if we allowed the user to override whole processPost
and provide some sensible defaults? That would be the most flexible option here.
Given we have a plugin system in place now, we could implement one to parse date from post metadata. Even url slugifying mechanism could be moved outside. What if we allowed the user to override whole processPost and provide some sensible defaults? That would be the most flexible option here.
Never mind. Just noticed that's possible already!
So I guess it might be just a matter of changing those flags.
Sounds good. Yeah, should be farily easy.
Ie. we should match against
**/*.md
. glob module is excellent for this purpose.This will allow arbitrary layout for the directory. Note that there should be some way to define post ordering through configuration to make this sensible. Example:
antwar.config.js