1.1.18 • Published 2 years ago

yuzu-definition-hbs-helpers v1.1.18

Weekly downloads
19
License
MIT
Repository
github
Last release
2 years ago

Block Handlebars Helpers

A collection of Handlebars helpers to comilment Blocking, a way of implementing serverside headerless website production.

ifCond

Adds conditional if statements to Handlebars

{{#ifCond type '===' 2}}

{{/if}}

modPartial

A new partial that renders a supplied partial using the data and injects this data with a new modifier property. Can be used to modify a block from the markup file instead of the data which defines how it will look in the code.

{{{ modPartial 'parPageHeaderSearch' pageHeaderSearch 'page-header-search--modal' }}}

toLowerCase

Converts any upper case characters to lowercase

{{{ toLowerCase 'UPPER' }}}

toString

Used to stringify json object

{{{ toString data }}}
1.1.18

2 years ago

1.1.17

3 years ago

1.1.16

3 years ago

1.1.15

3 years ago

1.1.14

3 years ago

1.1.13

4 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

6 years ago