{% extends 'layout/standard' %}

{% block stylesheets %}

	{{ parent() }}

	<link rel="stylesheet" type="text/css" href="{{ asset_url('css_app') }}"/>

{% endblock stylesheets %}

{% block body %}

	{% if is_granted('ROLE_ADMIN') %}
		{% include '@cms/element/header' %}
	{% endif %}

	{{ parent() }}

{% endblock body %}

{% block container %}

	<header>

		{% block header %}<h1>{{ app.name }}</h1>{% endblock %}

	</header>

	{{ flash() }}

	<section id="main">

		{% block main %}

		{% block content %}{% endblock %}

		{% endblock main %}

	</section>

	{% if block('footer') is not empty %}
	<footer>

		{% block footer %}{% endblock %}

	</footer>
	{% endif %}

{% endblock container %}
{% extends 'layout/frontend' %}

{% block stylesheets %}

	{{ parent() }}

	<link rel="stylesheet" type="text/css" href="{{ asset_url('css_app') }}" />

{% endblock stylesheets %}

{% block header %}

	{{ parent() }}

	<nav id="nav-main">

		{% block nav_main %}

			{{ list( app['app.navigation'] ) }}

		{% endblock nav_main %}

	</nav>

{% endblock header %}
Extend frontend template from core
Extend frontend template from core
