prettier-plugin-jinja-template
Version:
Prettier plugin for formatting jinja templates.
15 lines (14 loc) • 387 B
HTML
<head>
{% for item in seq %}
<!-- meta for {{item}} -->
{% set key, value = call(item) %}
<meta name="{{ key }}" content="{{ value }}" />
{% endfor %}
</head>
<body>
{% set navigation = [('index.html', 'Index'), ('about.html', 'About')] %}
{% set navigation %}
<li><a href="/">Index</a></li>
<li><a href="/downloads">Downloads</a></li>
{% endset %}
</body>