bnomei/kirby3-handlebars

View on GitHub
snippets/handlebars/render.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

    $renderer = LightnCandy\LightnCandy::prepare($precompiledTemplate, sys_get_temp_dir());
    if ($renderer && is_callable($renderer)) {
        echo $renderer($data);
    }