diff options
Diffstat (limited to 'site/_layouts/doc.html')
-rw-r--r-- | site/_layouts/doc.html | 2 |
1 files changed, 2 insertions, 0 deletions
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 %} |