Avoid to load Google Custom Search API for offline docs.

This commit is contained in:
Viktor Klang 2012-09-28 19:33:26 +02:00
parent 292fdb4d83
commit 8acaed6a00

View file

@ -148,6 +148,7 @@
</p> </p>
</div> </div>
</div> </div>
{%- if include_analytics %}
<script src="http://www.google.com/jsapi" type="text/javascript"></script> <script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript"> <script type="text/javascript">
google.load('search', '1', {language : 'en', style : google.loader.themes.MINIMALIST}); google.load('search', '1', {language : 'en', style : google.loader.themes.MINIMALIST});
@ -163,7 +164,6 @@
} }
}, true); }, true);
</script> </script>
{%- if include_analytics %}
<style type="text/css"> <style type="text/css">
.gsc-control-cse { .gsc-control-cse {
font-family: Arial, sans-serif; font-family: Arial, sans-serif;