index.html.twig 352 B

1234567891011
  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3. {% if is_granted('ROLE_ADMIN') %}
  4. <a href="{{ path('app_page_edit', {'id': page.name}) }}" class="btn btn-primary mb-3"><i class="fa fa-edit"></i> {{ "edit_page" | trans }}</a>
  5. {% endif %}
  6. {% apply markdown_to_html %}
  7. {{ page.content }}
  8. {% endapply %}
  9. {% endblock %}