Skip to content

Instantly share code, notes, and snippets.

@volgar1x
Created August 2, 2012 20:16
Show Gist options
  • Save volgar1x/3240263 to your computer and use it in GitHub Desktop.
Save volgar1x/3240263 to your computer and use it in GitHub Desktop.
{% extends "::base.html.twig" %}
{% block title %}
Les news
{% endblock %}
{% block body %}
{% for news in news_list %}
{% embed "::content.html.twig" %}
{% block content_title news.title %}
{% block content_body %}
{% include "OrigineNewsBundle:News:content.html.twig" %}
{% endblock %}
{% endembed %}
{% endfor %}
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment