{% extends 'template.twig' %}
{% block cssAssets %}
{% if editable %}
<link rel="stylesheet" href="{{ asset('lib/content-tools.min.css', 'css') }}">
<link rel="stylesheet" href="{{ asset('lib/content-flow.min.css', 'css') }}">
{% endif %}
{% endblock %}
{% block jsAssets %}
{% if editable %}
<script type="text/javascript" src="{{ asset('lib/content-tools.js', 'js') }}"></script>
<script type="text/javascript" src="{{ asset('lib/content-flow.js', 'js') }}"></script>
<script type="text/javascript" src="{{ asset('editor.js', 'js') }}"></script>
{% endif %}
{% endblock %}
{% block pageTitle %}
{{ title }}
{% endblock %}
{% block content %}
<h1 class="ing-title" {{ editable is defined and editable ? "data-fixture" : "" }} data-name="title">{{ content.title }}</h1>
<div class="ing" data-cf-flow="main-{{ content_id }}" data-cf-flow-label="Main" data-content="content">
{% for part in content.parts %}
{{ part.text|raw }}
{% endfor %}
</div>
{% endblock %}