]> Raphaël G. Git Repositories - airbundle/commitdiff
Add title on logo link
authorRaphaël Gertz <git@rapsys.eu>
Wed, 9 Dec 2020 20:46:18 +0000 (21:46 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 9 Dec 2020 20:46:18 +0000 (21:46 +0100)
Add logo image resolution in img tag

Resources/views/body.html.twig

index 33673865f7baa6669d1ea8bdb000c6cd2e21f00c..aba7827d3c99adb62ece4bbb25c4c90ab8272224 100644 (file)
@@ -39,7 +39,7 @@
 {% block body %}
        {% block header %}
                <header id="header">
-                       {% block header_title %}<h1><a href="{{ site_url }}"><img src="{{ asset(site_logo) }}" alt="{{ site_title }}" /></a></h1>{% endblock %}
+                       {% block header_title %}<h1><a href="{{ site_url }}" title="{{ site_title }}"><img src="{{ asset(site_logo) }}" alt="{{ site_title }}" width="171" height="32" /></a></h1>{% endblock %}
                        {% block header_nav %}
                                <nav>
                                        <h2>{% trans %}Navigation{% endtrans %}</h2>