From e5b09a5d60b023472769ddd1f190635277952d3e Mon Sep 17 00:00:00 2001 From: Robert Clarke Date: Sun, 5 May 2019 21:00:49 +0000 Subject: [PATCH] switched async to defer; only load search js if search enabled --- templates/index.html | 41 ++++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/templates/index.html b/templates/index.html index 36c5ebd..8ae52dc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,41 +6,38 @@ - + - + {% block title %}{{ config.title }}{% endblock title %} {% if config.extra.zulma_theme %} - + {% else %} - + {% endif %} {% if config.generate_rss %} - + {% endif %} {% block css %} {% if config.extra.zulma_theme %} - + {% else %} - + {% endif %} {% endblock css %} + {% if config.build_search_index %} + + + {% endif } + {% block extra_head %} {% endblock extra_head %} @@ -86,14 +83,12 @@ {% endblock content %} - - - - + + + + {% if config.build_search_index %} + + {% endif %} \ No newline at end of file