loading and splitted titles render speed fix

This commit is contained in:
2026-10-13 17:00:22 +02:00
parent 2d3842c702
commit 36c5b1e380
9 changed files with 208 additions and 81 deletions
@@ -0,0 +1,20 @@
{% extends "block.html.twig" %}
{#
/**
* @file
* Bloc identité du site. Surcharge du gabarit core uniquement pour poser
* `variable-title` sur le nom du site, dans le HTML servi (voir
* leshed_preprocess_node() et assets/js/titles.js).
*/
#}
{% block content %}
{% if site_logo %}
<a href="{{ path('<front>') }}" rel="home">
<img src="{{ site_logo }}" alt="{{ 'Home'|t }}" fetchpriority="high" />
</a>
{% endif %}
{% if site_name %}
<a href="{{ path('<front>') }}" rel="home" class="variable-title">{{ site_name }}</a>
{% endif %}
{{ site_slogan }}
{% endblock %}