1.1.18 • Published 1 year ago

yuzu-definition-hbs-helpers v1.1.18

Weekly downloads
19
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.1.17

1 year ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

3 years ago

1.1.12

4 years ago

1.1.11

4 years ago

1.1.10

4 years ago

1.1.9

5 years ago