Top "Templating" questions

Templating systems are generally composed of a Template Engine, a Content Resource and a Template Resource.

Backbone.js: nesting views through templating

Is it technically possible to nest views, using templating, something like that: <%= new PhotoCollectionView({model:new PhotoCollection(model.similarPhotos)}).…

javascript jquery backbone.js templating
Loop by integer value with Nunjucks Templating

I'm quite new to nunjucks and from what I have read this is not possible, but I was wondering if …

javascript node.js templating nunjucks
Which templating engine can I use with both JS and PHP?

I'm looking for a simple Template engine that works both on client side with JS ánd on server side with …

javascript php html template-engine templating
Razor code between double quotes

In a Razor View Engine template, I want to do the following: I want to put some code between the …

asp.net-mvc asp.net-mvc-3 razor templating
Ansible: Unexpected templating type error: expected string or buffer

I have a register with the following contents: ok: [hostname] => { "changed": false, "msg": { "changed": true, "cmd": "cd /tmp\n ./…

string ansible conditional buffer templating
Accessing individual fields in Drupal 8 views templates

I'm having trouble doing something that I think should be relatively simple drupal 8 views. I have a content type called …

twig views templating drupal-8
Partial HAML templating in Ruby without Rails

I really don’t need the overhead of Rails for my very small project, so I’m trying to achieve …

ruby haml templating
Is there a templating language similar to Razor for Java Spring web applications?

I'm in love with razor templates in .NET MVC 3. Is there anything close for java? I'd be looking for something …

java asp.net-mvc spring-mvc template-engine templating
If statements in template system

How can I parse, let's say, {if $var > 2} or {if $var} in a .tpl file in my own version …

php templates templating templating-engine
Appending files with Template Module in Ansible

So I have an ansible playbook that is using a Jinja2 template to create a log file. Everytime I run …

ansible jinja2 templating