This repository has been archived on 2020-09-29. You can view files and clone it, but cannot push or open issues/pull-requests.
flatfilecms/flatfilecms/templates/solution.jinja2

21 lines
426 B
Django/Jinja

{% extends "layout.jinja2" %}
{% block content %}
{% filter markdown %}
{% if content %}
{{content|safe}}
{% endif %}
{% for name in ['why', 'what', 'who', 'call'] %}
{% if name in data %}
{{("{% call b(tag='section', id='"+name+"') %}")|safe}}
{{data[name]|safe}}
{{"{% endcall %}"|safe}}
{% endif %}
{% endfor %}
{% if 'abbr' in data %}
{{data['abbr']|safe}}
{% endif %}
{% endfilter %}
{% endblock %}