From f7fa8087ec65f1b9831b08727a4345d20583c37a Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Tue, 29 Sep 2020 17:29:05 +0200 Subject: [PATCH] Fix bade model --- base.twig | 6 ++++-- index.twig | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/base.twig b/base.twig index 1bc5632..8e39378 100644 --- a/base.twig +++ b/base.twig @@ -19,6 +19,8 @@ <link rel="stylesheet" href="{{ theme_url }}/css/style.css" type="text/css" /> <link rel="stylesheet" href="{{ theme_url }}/css/droidsans.css" type="text/css" /> <link rel="stylesheet" href="{{ theme_url }}/css/fontello.css" type="text/css" /> + <link rel="shortcut icon" href="{{ theme_url }}/img/favicon.png"> + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous"> {% block head %} {% endblock %} </head> @@ -57,7 +59,7 @@ <div id="main" role="main"> <div class="container"> - {% block head %} + {% block content %} {{ content }} {% endblock %} </div> @@ -66,7 +68,7 @@ <div id="footer"> <div class="container"> <p> - {{ pages["_meta"].meta.license }} + {{ pages["_meta"].meta.license | markdown }} </p> <div class="social"> {% for social in pages["_meta"].meta.social %} diff --git a/index.twig b/index.twig index 4127299..5db0fd0 100644 --- a/index.twig +++ b/index.twig @@ -1,4 +1,4 @@ -{% extends base %} +{% extends "base.twig" %} {% block content %} {{ content }} {% endblock %} -- GitLab