aboutsummaryrefslogtreecommitdiffstats
path: root/site/_layouts
diff options
context:
space:
mode:
Diffstat (limited to 'site/_layouts')
-rw-r--r--site/_layouts/base.html2
-rw-r--r--site/_layouts/doc.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/site/_layouts/base.html b/site/_layouts/base.html
index 1ccb6b5..f3ec5d6 100644
--- a/site/_layouts/base.html
+++ b/site/_layouts/base.html
@@ -8,7 +8,7 @@ analytics_id: {{ site.ganalytics }}
<body>
{{ content }}
<script defer type="text/javascript" src="{{ site.baseurl }}/static/js/twitter.js"></script>
- {% include algolia.html %}
+ <!-- {% include algolia.html %} -->
{% for script in layout.scripts %}
<script defer src="{{ site.baseurl }}/static/js/{{script}}"></script>
diff --git a/site/_layouts/doc.html b/site/_layouts/doc.html
index 2b6cf39..fb02386 100644
--- a/site/_layouts/doc.html
+++ b/site/_layouts/doc.html
@@ -205,6 +205,8 @@ set some constants
{% capture other_version_root %}{{site.docsurl}}/{{ page.language }}/{{ other_version_string }}/{% endcapture %}
{% assign other_version_url = page.url | replace:VERSION_URL,other_version_root %}
+ {% assign other_version_url = VERSION_ROOT | replace: page.version, other_version_string %}
+
{% comment %}
{% unless ALL_PAGES contains other_version_url %}
{% assign other_version_url = other_version_root %}