From 76a98d4071bd6b84e70f1a50355851b36f40ecd0 Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Tue, 25 Sep 2012 19:11:21 +0200 Subject: [PATCH] #2082 - Adding conditional google search bar into the online version of the Akka docs --- akka-docs/_sphinx/themes/akka/layout.html | 35 ++++++++++++++--------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/akka-docs/_sphinx/themes/akka/layout.html b/akka-docs/_sphinx/themes/akka/layout.html index 6313e9048d..3e3a98c410 100644 --- a/akka-docs/_sphinx/themes/akka/layout.html +++ b/akka-docs/_sphinx/themes/akka/layout.html @@ -61,7 +61,6 @@
{{ title }}
-
Loading
@@ -85,10 +84,15 @@
  • Version {{ version|e }}
  • - +
    + {%- if include_analytics %} +
    +
    Loading
    +
    + {%- endif -%}
    {% block body %}{% endblock %}
    @@ -154,22 +158,24 @@ customSearchControl.draw('cse'); }, true); - +{%- if include_analytics %} +{%- endif %}