diff --git a/templates/partial/sidebar.html b/templates/partial/sidebar.html
index 4a447c1..7f30501 100644
--- a/templates/partial/sidebar.html
+++ b/templates/partial/sidebar.html
@@ -23,7 +23,7 @@
{% elif 'pelican.plugins.search' in PLUGINS %}
{% endif %}
diff --git a/templates/partial/stork.html b/templates/partial/stork.html
index aa04e0b..10f3e09 100644
--- a/templates/partial/stork.html
+++ b/templates/partial/stork.html
@@ -1,13 +1,15 @@
{% if 'pelican.plugins.search' in PLUGINS %}
+
{% if STORK_VERSION %}
-
{% else %}
-
{% endif %}
{% endif %}