Edit base and home templates

This commit is contained in:
Paul Nicoué 2022-07-01 16:04:59 +02:00
parent 6b0eaaaa22
commit 797abd2dea
8 changed files with 120 additions and 22 deletions

19
site/templates/home.twig Normal file
View file

@ -0,0 +1,19 @@
{% extends "base.twig" %}
{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('assets/css/style.min.css') }}">
{% endblock %}
{% block main %}
<main>
<section class="home-section">
<iframe class="home-section__iframe" src="{{ page.featured_exhibition }}" name="iframe"></iframe>
</section>
</main>
{% endblock %}
{% block scripts %}
<script src="{{ asset('assets/js/app.js') }}"></script>
{% endblock %}