From: Raphaƫl Gertz Date: Sun, 25 Feb 2018 05:24:24 +0000 (+0100) Subject: Switch to custom stylesheet and javascript twig extension X-Git-Tag: 0.1~52 X-Git-Url: https://git.rapsys.eu/blogbundle/commitdiff_plain/6cb4d37df4bd723af08140de8c2d6da88475e3f8?ds=inline Switch to custom stylesheet and javascript twig extension Fix title Fix favicon Add alternative version --- 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 %}