Top "Template-engine" questions

A template engine is software that is designed to process templates and content information to produce output documents.

Handlebars, loading external template files

My goal is to put all my Handlebars templates in a single folder, as so: templates/products.hbs templates/comments.…

javascript handlebars.js template-engine
Create new file from templates with bash script

I have to create conf files and init.d which are very similar. These files permit to deploy new http …

bash templates configuration template-engine
How do I execute ruby template files (ERB) without a web server from command line?

I need ERB (Ruby's templating system) for templating of non-HTML files. (Instead, I want to use it for source files …

ruby code-generation template-engine erb
Velocity vs. FreeMarker

Velocity or FreeMarker? They look pretty much the same, even the syntax? What to use? Or when to use what?

java velocity template-engine freemarker
in velocity can you iterate through a java hashmap's entry set()?

Can you do something like this in a velocity template? #set ($map = $myobject.getMap() ) #foreach ($mapEntry in $map.entrySet()) <…

java xml velocity template-engine
How to retrieve all Variables from a Twig Template?

Is it possible to retrieve all variables inside a Twig template with PHP? Example someTemplate.twig.php: Hello {{ name }}, your …

php symfony twig template-engine
Handlebars Template rendering template as text

I created a helper in Handlebars to help with logic, but my template parses the returned html as text rather …

javascript template-engine mustache handlebars.js
if-else in FreeMarker template

FreeMarker templates support an if-statement with the following syntax <#if hot> It's hot. </#if> I've looked …

java template-engine freemarker
Velocity and $foreach.count

I am using velocity 1.7 and within a foreach loop I want to print the count. In the template I have …

java velocity template-engine
laravel blade, how to append to a section

If you look to laravel official documentation http://laravel.com/docs/4.2/templates It says that giving this layout: <!-- …

php laravel laravel-4 template-engine blade