Skip to content

Instantly share code, notes, and snippets.

@tatma tatma/menu.html.twig
Created Aug 18, 2018

Embed
What would you like to do?
Include: creazione del menù
<ul>
<li><a href="{{ path('home') }}">Torna alla home</a></li>
<li><a href="{{ path('who_we_are') }}">Chi siamo</a></li>
<li><a href="{{ path('contact_us') }}">Contattaci</a></li>
</ul>
{% extends "base.html.twig" %}
{% block title %}Symfony 4{% endblock %}
{% block main_title %}Framework Symfony 4{% endblock %}
{% block content %}
{% include "menu.html.twig" %}
<p>
Symfony 4 è un framework backend
</p>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.