Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/TryGhost/express-hbs

Express handlebars template engine with inheritance, partials, i18n and async helpers.
https://github.com/TryGhost/express-hbs

perf refactor, use readFileSync in compileFile

49e35ba9263d9af81575edc9fbddcfc39f3e5098 authored almost 10 years ago by Mario L Gutierrez <[email protected]>
add tests for multiple dirs and error filename

c6ae1d82a3b79ccb0228feccd7e0ceeef0dbc390 authored almost 10 years ago by Mario L Gutierrez <[email protected]>
Set views and layouts to support multiple directories.

Added tests.

6dc9fad798a6e3762c43afc75c5a6b43800cc91e authored almost 10 years ago by Scott Doxey <[email protected]>
0.8.0

b49cd2298da147dd2a28bd175aaf111dae401343 authored almost 10 years ago by Mario L Gutierrez <[email protected]>
update express 4 example

0748a176993cfd2325040ba6309b411497d82264 authored almost 10 years ago by Mario L Gutierrez <[email protected]>
add eslint; fix lint errors

ef1fbdb272f66f92fe4656b891ae445636262951 authored almost 10 years ago by Mario L Gutierrez <[email protected]>
Update dependencies

- Update express
- Update handlebars for new ignoreIndent option

89569b60c76da0e2d39c63378170b4a65d6ebcc2 authored almost 10 years ago by Fabian Becker <[email protected]>
0.7.11

5a54375628452be340a34ea9e1658da43f76f94a authored over 10 years ago by Mario L Gutierrez <[email protected]>
Merge pull request #65 from mattwiller/i18n_context

Pass correct context to i18n helper

e0898b443bd5d8bd36bedd7b29e47000d688b355 authored over 10 years ago by Mario Gutierrez <[email protected]>
Pass correct context to i18n helper

The i18n library requires the "this" keyword to point to the root
context, which has the current...

fd694fcf89f4c857dd2ccb0c1188a81b09ad5b97 authored over 10 years ago by Matt Willer <[email protected]>
0.7.10

4ca13db99d4d4a804b78c4c865a6458767d52f5f authored over 10 years ago by Mario L Gutierrez <[email protected]>
Merge branch 'phillipj-feature/handlebars-2.0'

a2291a4002c3bc94e7d739961ee0cdbdf27aeac2 authored over 10 years ago by Mario L Gutierrez <[email protected]>
Merge branch 'feature/handlebars-2.0' of https://github.com/phillipj/express-hbs into phillipj-feature/handlebars-2.0

f3c5a92cebddbc2fb8d524219caf627db94ec17b authored over 10 years ago by Mario L Gutierrez <[email protected]>
Merge branch 'JonathanO-escape-async'

6ded3f69faa33c4bbc54c53e168579f454c899b1 authored over 10 years ago by Mario L Gutierrez <[email protected]>
Using handlebars 2.0

89775c063bff547150b4e59e0b9383f7fad13a68 authored over 10 years ago by phijohns <[email protected]>
Escape the result of async handlers if {{...}} used.

Will not escape if {{{...}}} is used.
Brings behaviour in line with other Handlebars behaviour.
...

2aaf916324cd6b30849d7514a498ab2bf5ed873d authored over 10 years ago by Jonathan Oddy <[email protected]>
0.7.9

8751f1c0b53d4b193c5755f9d4d2ca7bd28f976a authored almost 11 years ago by Mario L Gutierrez <[email protected]>
fix blocks with async helpers

b8adbc380a4f02f8c459d15507777eb88364486d authored almost 11 years ago by Mario L Gutierrez <[email protected]>
0.7.8

6db771c6652ee609ec4aa5de684621f89623c609 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
add i18n support

fd8017e543cf3a6e5f92dc43e362d9425fa2517d authored almost 11 years ago by Mario L Gutierrez <[email protected]>
0.7.7

6851e448feb80e52e461387925737f8481d4f9f6 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
DRY up compile; normalize path sep

203fb094e5ff6a0ae4e8a08b1fdf3facfd447e3f authored almost 11 years ago by Mario L Gutierrez <[email protected]>
0.7.6

2f5b8ff4d5af6284f02b14a6469775907071398d authored almost 11 years ago by Mario L Gutierrez <[email protected]>
fix layout not having filename in error

80a7e4aa2ed5120c1297a73a06656892a88394fd authored almost 11 years ago by Mario L Gutierrez <[email protected]>
relative path in error

a50e6731841168d3320d07e9cb251f9c45c749c6 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
Merge pull request #51 from ErisDS/filename-fix

Changing error message to report filename not path

7b74631d1a45694c556fe15ab16b2d50e76fa5a6 authored almost 11 years ago by Mario Gutierrez <[email protected]>
Changing error message to report filename not path

issue #49

21382b8c2c95a9d45833e971a169ed592bb5b6b3 authored almost 11 years ago by Hannah Wolfe <[email protected]>
remove log statement in test

ebb3a3a62e9642ac3b9de996808e631cba9ec2f0 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
bump version

d274dd085dd04dac36ba76d6f4f09b02b30d2e5d authored almost 11 years ago by Mario L Gutierrez <[email protected]>
Merge branch 'master' of github.com:barc/express-hbs

db0e777edfea11ded3f33e7b414c29b5d4146418 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
no need for err.stack filename if err.message contains it

cb9624fda2bfa7547c44129c23ab64acc01e6519 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
Merge pull request #50 from kciccarello/master

Update layout suppression option documentation in readme

8e181e1020c7bf6ddfd36f27cef0a45bbd379051 authored almost 11 years ago by Mario Gutierrez <[email protected]>
Update layout suppression option documentation in readme

cdc9851437021b38aae66792f54004ebac43b4c8 authored almost 11 years ago by Kris Ciccarello <[email protected]>
bump version

d52243491892d0c47d17a9de6dfb2307cb49eed8 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
fix #49

854c65c3ef8a1353a8a8304712a7fa17aab5d16a authored almost 11 years ago by Mario L Gutierrez <[email protected]>
reverse beautify option

c7b20e9cbdc5dacce320e44d44501e92374fa3aa authored almost 11 years ago by Mario L Gutierrez <[email protected]>
add beautify to README

05e4835192d657720de750465b970097e3b8d192 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
Merge branch 'master' of github.com:barc/express-hbs

8fd9639cc0bc7b95ba8b214189666a702839b047 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
add beautify option

2c213e693f7303e033c00423fb2c42f2b22f8716 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
Merge pull request #48 from ErisDS/error-handling

Handle parser errors from handlebars

4a51388e39ce01ce3de26cfac9c65fe0f3bed01d authored almost 11 years ago by Mario Gutierrez <[email protected]>
Handle parser errors from handlebars

fixes #47

b25112147ffab478498e135c5954f478e8826f05 authored almost 11 years ago by Hannah Wolfe <[email protected]>
test for issue-22

7f33b1dce18dd9bcd71c4b557a090d3ee9d600ed authored almost 11 years ago by Mario L Gutierrez <[email protected]>
set refs to nils, free mem quicker

1292278891b1e74d9a76011d683e1787768cfe72 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
bump pre version

6bc97237a8a3964d8e8ac6ac248dcd758404f5a8 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
removed diagnostics code

5e6598f11cb9640979ea3131da84ea831fa19925 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
add fix for comment only partial

91e3e0db810d9ddf36d6b869189ff530d688a448 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
support static generation - viewsDir option

e6a52e00d762014f5454c07001fbeef7a8228094 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
Merge pull request #46 from kciccarello/master

Always suppress layouts when options.layout is falsy.

8d3591e3bae9d43d92d98f352565e39c5e99eaef authored almost 11 years ago by Mario Gutierrez <[email protected]>
Always suppress layouts when options.layout is falsy. Added related tests.

eabaf3f5a5fb1489d6f2ac9f2f6852fda7dff96f authored almost 11 years ago by Kris Ciccarello <[email protected]>
disableLayoutDirective

2a9fcfd30ce72667a6ac7f3179accb2bb07a1d88 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
more test and comments

0ecca1c35048fc19502a4596c56ed0ae4e1521fd authored almost 11 years ago by Mario L Gutierrez <[email protected]>
clean up some comments

11024563c3c4361e7180c2db2f2aaefa1810bc38 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
fix file resolution formatting

f6654307e0ece449bb8fd7074c9854fd24f23d13 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
decouple template and layout caching

68795b78e18d0db099f7f013b105848701336de0 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
fix issue-21

4e63946be583ac1734ed9ca32ed6e6142fddc8a2 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
add test

2acb05bdd72b5dc95f4743686e0a5d9f714f7bc9 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
bump version

c1b0bdabfb77fc5c8a0f66713bd09d73bbd09949 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
Merge branch 'patch-1' of https://github.com/meritt/express-hbs into meritt-patch-1

749f5750f3a7943784a388acc1306b76dc599300 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
Merge branch 'master' of github.com:barc/express-hbs

675ac023d724f43b3e53870fd51e6861fcad55ba authored almost 11 years ago by Mario L Gutierrez <[email protected]>
fix default tests

7d4b1d37f69f4b625d30958ff8ce4417cbeafc89 authored almost 11 years ago by Mario L Gutierrez <[email protected]>
Update handlebars deps

0355b1c017470c16c49cdb9f87f0402641c654a6 authored almost 11 years ago by Alexey Simonenko <[email protected]>
Merge pull request #42 from k-j-kleist/patch-1

Update README.md

23472cc05b946c2d606116a226444fa8ee5d8239 authored about 11 years ago by Mario Gutierrez <[email protected]>
Update README.md

Use "app.locals()" instead of "app.set()", and the template code becomes cleaner.

fd55c8d368338354d7aba6cd10a434d0e3994b98 authored about 11 years ago by Karl Johan Kleist <[email protected]>
Merge branch 'fix/multiple-layoutsDir-example' of https://github.com/digitalcuisine/express-hbs into digitalcuisine-fix/multiple-layoutsDir-example

3296b1b3071fe790bda243a90a73e68cfc876d58 authored about 11 years ago by Mario L Gutierrez <[email protected]>
bump version

4f74743e8bd2474bf21794539c34860ea1202dd6 authored about 11 years ago by Mario L Gutierrez <[email protected]>
Merge branch 'feature/default-block-content' of https://github.com/digitalcuisine/express-hbs into digitalcuisine-feature/default-block-content

9da31288443e798c82a2e3b80b04b486c24e5af0 authored about 11 years ago by Mario L Gutierrez <[email protected]>
bump version

4d1fe06999e2cb61cb1c89e71e06420fb458844b authored about 11 years ago by Mario L Gutierrez <[email protected]>
Added examples/tests for default block content

e34c46c428616c8a3c9f049bbb5cc25527ea1d17 authored about 11 years ago by Olivier Lance <[email protected]>
Allow declaration of default block:

{{#block 'my-block'}}
default content
{{/block}}

"default content" will be shown ...

13985b4ea1a87da496bced393912987baa7d5997 authored about 11 years ago by Olivier Lance <[email protected]>
Missing new partials dir in the "app-layoutsDir" example app

e52af78a3eac6dbc78cf6b885b67b6d6cad8254d authored about 11 years ago by Olivier Lance <[email protected]>
Merge branch 'feature/nested-layouts' into feature/nested-layouts2

Conflicts:
example/app.js
example/views/layout/default.hbs
example/views/layout/veggie.hbs
l...

a7eb462483963e159cc7b2689510ab5fe9af51c5 authored about 11 years ago by Olivier Lance <[email protected]>
Several partials view directories & template options

- Allow to configure several directories for partial views
- Add a method ‘updateTemplateOptions...

5c07499a414fe0ab83b8f3dfd603aa07ef622d8d authored about 11 years ago by Seb Gotvitch <[email protected]>
Merge pull request #36 from Gotvitch/block-content-bug

Bug fixe in content/block helper

22e6b29b4aca6966b828cb173e5a2493ebdd921a authored about 11 years ago by Mario Gutierrez <[email protected]>
Bug fixe in content/block helper

The data give to the template was lost in contentFor helpers, because
the context of the functio...

fb4cdd7f590d690fc6a575cd4374cb71b237fd35 authored about 11 years ago by Seb Gotvitch <[email protected]>
add instance test

50358fc27f0b7f7a48881ccdbc033ea1dd714b88 authored about 11 years ago by Mario L Gutierrez <[email protected]>
add @olance to contributors

d338f8c2c97a8cca79b8e3f11eb696ec4d70fd74 authored about 11 years ago by Mario L Gutierrez <[email protected]>
add missing -d in testing section

fa6a925e0311bacc0ec1b7f6d66d62fde86867ef authored about 11 years ago by Mario L Gutierrez <[email protected]>
Merge pull request #34 from DigitalCuisine/readme-testing-details

Added basic installation details in the "Testing" part

416a6133c23f30b633281a9a5f34704be44c13b2 authored about 11 years ago by Mario Gutierrez <[email protected]>
add Seb Gotvitch

6490a0e02f8e4aa782b2726fb521fd6cf35b5988 authored about 11 years ago by Mario L Gutierrez <[email protected]>
refactor, add contributors, use mocha directly for package.json, add cache tests

13912dbaecc22c43597a59c30f4d6f7a962400cf authored about 11 years ago by Mario L Gutierrez <[email protected]>
Fixed a cache problem by duplicating the layout stack when caching it. Otherwise the reference is shared between caches and we can end up rendering too many layouts.

a08d67184eecfa13f765deedc702ea6741576b88 authored about 11 years ago by Olivier Lance <[email protected]>
Added a note about nested layouts

dbb92b3c9e7509d4cdcbbaa9dc8a9316fdf0a611 authored about 11 years ago by Olivier Lance <[email protected]>
Added simple tests for nested layouts

727d72070965ef13ad7ede922301cab195418672 authored about 11 years ago by Olivier Lance <[email protected]>
Added examples for nested layouts with two levels of nesting, for both in-options and declarative layouts

html-struct -> veggie|fruit -> (veggie|fruit)-details

7fd7ba4a49494b38710417a52bd1f6412dd90ee2 authored about 11 years ago by Olivier Lance <[email protected]>
Refactored layouts to be a bit more DRY - illustrates the use of nested layouts

5ea35657efc677c070add3c331c638acdbbb9b73 authored about 11 years ago by Olivier Lance <[email protected]>
Added the capability to nest layouts by tweaking the code a bit:

* The "entry point" for layout inclusion doesn't change: it's either declared in the template gi...

e1e735c9f518dcd65784d4aec796fc7a222ee668 authored about 11 years ago by Olivier Lance <[email protected]>
Added basic installation details in the "Testing" part

b3ea534f06989b6f59baaa73d0b5497e5f0d6752 authored about 11 years ago by Olivier Lance <[email protected]>
Merge pull request #31 from k-j-kleist/patch-2

"#content" ==> "#contentFor"

675edce962564fde07a2fccd1f65a81054056867 authored about 11 years ago by Mario Gutierrez <[email protected]>
Merge pull request #30 from k-j-kleist/patch-1

Illustrate use of "application local variable" to configure "if" helper.

3d3bf11455e1c63d576ef83b17fbb5b90c462e7d authored about 11 years ago by Mario Gutierrez <[email protected]>
"#content" ==> "#contentFor"

changed name of content block helper from "#content" to "#contentFor" as to reflect the default ...

997e1071db68605e8d721c4e06bdb9fa4739b10c authored about 11 years ago by Karl Johan Kleist <[email protected]>
In the Example, illustrate use of "application local variable" to configure "if" helper.

I have a Python/Zope/Plone background, and hence I'm not accustomed to the "convention over conf...

fa3a2c03cbf0743020b66b7ee7685afcc3a1e49d authored about 11 years ago by Karl Johan Kleist <[email protected]>
fix conflicts

6c5e24fc680c21755243a8434be8246df8aada5a authored about 11 years ago by Mario L Gutierrez <[email protected]>
bump minor version

9ee36cffea17c5298d54578e589dcfbba3b2d2fc authored about 11 years ago by Mario L Gutierrez <[email protected]>
Merge pull request #27 from pdehaan/patch-2

Update package.json

75c0597b90f3b1fb52e6ba87b2c5176ae6971275 authored about 11 years ago by Mario Gutierrez <[email protected]>
Merge pull request #28 from jgable/asyncContextFix

Fix "this" context in async helpers

537bf5dff4032d6524510c2b29db61aa7ca4f50b authored about 11 years ago by Mario Gutierrez <[email protected]>
Fix "this" context in async helpers

- Used .bind() to ensure the same this context for async helpers

ea074e14d0fc85922da6b43f6d6f45a239b4f220 authored about 11 years ago by Jacob Gable <[email protected]>
Update package.json

Typo

4e1d65365ffd7e74d65576921298fbf62aca6293 authored about 11 years ago by Peter deHaan <[email protected]>
Merge pull request #26 from pdehaan/patch-1

Update package.json

1556a2dc028316c7f2fa27f09f3549b09e5b8256 authored about 11 years ago by Mario Gutierrez <[email protected]>
Update package.json

Fixing errors/warnings per http://package-json-validator.com/

The `keywords` should be an arr...

5756102580a84d538045e4843663a118b0ee6b84 authored about 11 years ago by Peter deHaan <[email protected]>
bump minor version

584364590d601e36e4a119781af5b64b436c08a5 authored about 11 years ago by Mario L Gutierrez <[email protected]>