{% extends noLayout ? viewbaseLayout : "eZDemoBundle::pagelayout.html.twig" %} {# This is an example of how to customize the title of your page. You can remove this block if you ever copy this file or use it as is to display a blog_post #} {% block page_head %} {% set title = ez_content_name( content ) ~ " - " ~ content.contentInfo.publishedDate|localizeddate( 'short', 'short', app.request.locale ) %} {{ parent() }} {% endblock %} {% block content %}

{{ ez_render_field( content, "title" ) }}

{{ ez_render_field( content, 'body' ) }}
{{ ez_render_field( content, 'tags', {'attr': {'class' : 'tags-wrapper'}} ) }}
{{ ez_comments_render_content( content.contentInfo ) }}
{# This is a call to a subrequest calling legacy code #} {{ render( controller( 'eZDemoBundle:Demo:viewTagRelatedContent', {'location': location} ) ) }}
{% endblock %}