From 374ec19b7705ca236295813dcdd7dfb86024d8d2 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Fri, 22 Mar 2024 10:38:32 +1100 Subject: [PATCH] Defer JavaScript loading This avoids waiting for the JS to download before rendering the page. --- conservancy/content/sustainer/original-supporter-appeal.html | 2 +- conservancy/templates/base_conservancy.html | 4 ++-- conservancy/templates/blog/query.html | 2 +- conservancy/templates/supporter/index.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conservancy/content/sustainer/original-supporter-appeal.html b/conservancy/content/sustainer/original-supporter-appeal.html index 05baf931..164d296e 100644 --- a/conservancy/content/sustainer/original-supporter-appeal.html +++ b/conservancy/content/sustainer/original-supporter-appeal.html @@ -5,7 +5,7 @@ {% block category %}supporter{% endblock %} {% block head %} - + {% endblock %} diff --git a/conservancy/templates/base_conservancy.html b/conservancy/templates/base_conservancy.html index c30b376e..7c30db4c 100644 --- a/conservancy/templates/base_conservancy.html +++ b/conservancy/templates/base_conservancy.html @@ -15,8 +15,8 @@ - - + + {% block head %}{% endblock %} diff --git a/conservancy/templates/blog/query.html b/conservancy/templates/blog/query.html index 881210d7..923a359e 100644 --- a/conservancy/templates/blog/query.html +++ b/conservancy/templates/blog/query.html @@ -3,7 +3,7 @@ {% block head %} + {% include "opengraph_partial.html" with url="/sustainer/" title="Support Conservancy!" description="Software freedom is critical to many of today’s most pressing social issues, but it’s only effective when FOSS is for everyone. Support Conservancy today to help make that happen!" %} {% include "opengraph_urllist_partial.html" with property='image' urls='' fallback='/static/img/conservancy-logo.png' %}