Sha256: c6476f2f2822b40f446121da5b8e58818779de802ccc97c2af35582250fdd65a
Contents?: true
Size: 761 Bytes
Versions: 17
Compression:
Stored size: 761 Bytes
Contents
<!DOCTYPE html> <html> <head> <title>My Webpage</title> </head> <body> <ul id="navigation"> {% for item in navigation %} <li><a href="{{ item.href|escape }}">{{ item.caption }}</a></li> {% endfor %} </ul> {% if 1 not in [1, 2, 3] %} {# is equivalent to #} {% if not (1 in [1, 2, 3]) %} {% autoescape true %} {{ var }} {{ var|raw }} {# var won't be escaped #} {{ var|escape }} {# var won't be doubled-escaped #} {% endautoescape %} {{ include('twig.html', sandboxed = true) }} {{"string #{with} \" escapes" 'another#one' }} <h1>My Webpage</h1> {{ a_variable }} </body> </html>
Version data entries
17 entries across 17 versions & 1 rubygems