straticjs / RFCs

Project-wide design proposals
Creative Commons Attribution Share Alike 4.0 International
1 stars 0 forks source link

"Decorator" utility module for indexes #18

Closed strugee closed 7 years ago

strugee commented 7 years ago

There's a bunch of useful stuff you might want on indexes, like the English-language month name, or the number in permalinks (which may have to have a 0 appended to it), etc. Currently all this is just done inline in templates, but it'd probably be good to push this out into a reusable module everyone can share.

strugee commented 7 years ago

stratic-decorate-files is out on npm.