cleanup code

This commit is contained in:
Simon Vieille 2022-04-25 09:57:45 +02:00
parent bbc1b8b0be
commit 35408e7e16
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 0 additions and 20 deletions

View file

@ -5,10 +5,6 @@ core:
controllers:
- {name: 'Compte-rendu', action: 'App\Controller\DebriefingController::debriefing'}
pages:
App\Entity\Page\SimplePage:
name: 'Simple page'
templates:
- {name: "Default", file: "page/simple/default.html.twig"}
App\Entity\Page\EntityPage:
name: 'Entité'
templates:

View file

@ -1,16 +0,0 @@
{% extends 'base.html.twig' %}
{%- block page -%}
<h1>{{ _page.title.value }}</h1>
{{ _page.content.value|murph_url|file_attributes|raw }}
<hr>
{% set image = _page.image.value %}
{% if image %}
<img src="{{ asset(image) }}" alt="{{ image|file_attribute('alt') }}" title="{{ image|file_attribute('title') }}">
{% endif %}
{%- endblock -%}