Commit Graph

9 Commits

Author SHA1 Message Date
hacksalot c4f7350528
chore: update project dependencies 2018-02-12 00:05:29 -05:00
hacksalot 38a073b09a
feat: improve template helper wiring 2018-02-07 05:49:02 -05:00
hacksalot 55196c2766
fix: prevent weird characters in date fields 2018-02-04 01:13:02 -05:00
hacksalot 1dbb78c53f
feat: improve custom theme helper registration 2018-02-01 07:00:59 -05:00
hacksalot 069506e86d
feat: support custom theme helpers 2018-01-31 21:11:21 -05:00
ryneeverett ec591b9432 Register handlebars helpers in themes. Fix #158.
Try to register all javascript files found in themes as handlebars
helpers.

Note that, unlike all other theme files currently, format directories
are ignored. I don't think there's a use case for format-specific
helpers, and this gives theme developers the flexibility to put them
either in top level files or organize them in subdirectories however
they see fit.

Note also that the theme format seems to be primarily documented in
<https://github.com/fresh-standard/fresh-themes>. This newly recognized
theme file type should be documented there should this branch be merged.
2017-01-20 22:53:16 -05:00
hacksalot 917fd8e3f3 Refactor helpers.
Rebind Handlebars helpers to drop the pesky options hash for standalone
helpers that don't need it. Move block helpers (which do need the
Handlebars options/context) to a separate file for special handling.
2016-02-14 04:10:23 -05:00
hacksalot 70f45d468d Asynchrony. 2016-02-01 22:52:13 -05:00
hacksalot 0f65e4c9f3 Finish HackMyCore reshaping.
Reintroduce HackMyCore, dropping the interim submodule, and reorganize
and improve tests.
2016-01-29 15:23:57 -05:00