From 6ed670f7d8bcbea525fd9082b776b95f7c8d58ef Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Fri, 8 Sep 2023 21:18:06 -0400 Subject: [PATCH] Avoid render-blocking with Algolia CSS The Algolia CSS only applies to the search box (which renders dynamically), so we can safely defer it. This resolves the "Eliminate render-blocking resources" item in PageSpeed Insights and Lighthouse. --- _layouts/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/base.html b/_layouts/base.html index b13b91d9..f98ee204 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -74,7 +74,7 @@ {% endif -%} {% endfor -%} {% endif -%} - + {% if page.url == "/" -%} {% for rel_me_url in site.link_rel_me_urls -%}