From 10435277cddc27df92f5761122484e745768f506 Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Mon, 23 Dec 2024 12:25:26 +0800 Subject: [PATCH] Replace deferred styles with standard linking This alone improves CLS from 0.9 down to 0.005, and overall score in lighthouse to green values Signed-off-by: Egor Savkin --- templates/_base.html | 26 ++++++-------------------- templates/index.html | 3 +++ templates/page-place-order.html | 2 +- 3 files changed, 10 insertions(+), 21 deletions(-) diff --git a/templates/_base.html b/templates/_base.html index adcc5a9..9fb7140 100644 --- a/templates/_base.html +++ b/templates/_base.html @@ -42,6 +42,11 @@ + + + + + {% block links %}{% endblock %} {% block styles %}{% endblock %} @@ -126,25 +131,6 @@ {% endblock %} - - - {% block footer %} @@ -186,7 +172,7 @@ - +