From 6cb4d37df4bd723af08140de8c2d6da88475e3f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 25 Feb 2018 06:24:24 +0100 Subject: [PATCH] Switch to custom stylesheet and javascript twig extension Fix title Fix favicon Add alternative version --- Resources/views/base.html.twig | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/Resources/views/base.html.twig b/Resources/views/base.html.twig index 0a40530..37ec4a1 100644 --- a/Resources/views/base.html.twig +++ b/Resources/views/base.html.twig @@ -2,19 +2,24 @@ - {% block title %}Welcome!{% endblock %} - Devlog + {% block title %}{{ title }}{% endblock %} - {% block stylesheets %} - {% stylesheets '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysBlogBundle/Resources/public/css/{reset,screen}.css' filter='toto' %} + {% block stylesheet %} + {% stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysBlogBundle/Resources/public/css/{reset,screen}.css' %} - {% endstylesheets %} + {% endstylesheet %} {% endblock %} - {% block javascripts %} - {% javascripts '@RapsysBlogBundle/Resources/js/*.js' output='js/compiled/main.js' %} + + + + {% block alternate %} + + {% endblock %} - {% block body %}{% endblock %} -- 2.41.1