Une collection organisée de snippets de code pour accélérer votre développement. Parcourez, recherchez et copiez en un clic.
{{ article.titre }}
{% for article in articles %}
<p>{{ article.titre }}</p>
{% endfor %}
{# Ceci est un commentaire #}
{% if user.isAdmin %}
<a href="/admin">Administration</a>
{% endif %}
{% block title %}Ma Page d'Accueil{% endblock %}
{% extends 'base.html.twig' %}
<a href="{{ path('blog_show', { slug: article.slug }) }}">Voir l'article</a>
{{ include('partials/_header.html.twig') }}
{{ 'bonjour'|upper }}