cleanup code
This commit is contained in:
parent
bbc1b8b0be
commit
35408e7e16
|
@ -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:
|
||||
|
|
|
@ -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 -%}
|
||||
|
Loading…
Reference in a new issue