Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

visol/ext-handlebars

Open more actions menu

Repository files navigation

Handlebars

This is a TYPO3 CMS extension to render native handlebars templates

 

Helper

Within the extension there are a few Handlebars helpers configured by default, such as content, block, json, lookup. On the top of that we can add new custom handlebars helper which can be declared in ext_localconf.php as follows

\Visol\Handlebars\HelperRegistry::getInstance()->register(
    'foo', 
    function ($labels, $key) {
        return $labels[$key];
    }
);

About

Handlebars compiler based on open-source project "lightncandy" (https://github.com/zordius/lightncandy)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.