Commit 71fa2810 authored by Antonin's avatar Antonin

Added breadcrumbs on news

parent 516c88cd
ACL
---
- Fil d'ariane news
- Aérér news
- Nettoyer news (sortie du site)
- Page liens
- Changer email de contact
......
{% extends 'SonataPageBundle::base_layout.html.twig' %}
{% block application_breadcrumb %}
{% block sonata_page_container %}
<div class="breadcrumb-container">
<div class="container">
{{ sonata_block_render_event('breadcrumb', { 'context': 'news_archive', 'collection': collection, 'tag': tag, 'current_uri': app.request.requestUri }) }}
{{ sonata_block_render_event('breadcrumb', { 'context': 'news_archive', 'collection': collection, 'tag': tag, 'current_uri': app.request.requestUri }) }}
</div>
</div>
{% endblock %}
{% block sonata_page_container %}
<div class="container">
<div class="content">
<h1>{{ 'title_archive'|trans({}, 'SonataNewsBundle') }}</h1>
......
{% extends 'SonataPageBundle::base_layout.html.twig' %}
{% block application_breadcrumb %}
<div class="breadcrumb-container">
<div class="container">
{{ sonata_block_render_event('breadcrumb', { 'context': 'news_post', 'post': post, 'current_uri': app.request.requestUri }) }}
{% block sonata_page_container %}
<div class="breadcrumb-container">
<div class="container">
{{ sonata_block_render_event('breadcrumb', { 'context': 'news_post', 'post': post, 'current_uri': app.request.requestUri }) }}
</div>
</div>
</div>
{% endblock %}
{% block sonata_page_container %}
<div class="container">
<div class="content">
<article class="sonata-blog-post-container">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment