[
https://issues.apache.org/jira/browse/CB-11172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295284#comment-15295284
]
Dmitry Blotsky commented on CB-11172:
-------------------------------------
This should be a simple fix. In {{algolia.html}} add the following lines after
the logic for the {{version}} variable:
{noformat}
{% if version == site.latest_docs_version %}
{% assign version = "latest" %}
{% endif %}
{noformat}
> Algolia search results in links to 6.x docs as opposed to using "latest"
> ------------------------------------------------------------------------
>
> Key: CB-11172
> URL: https://issues.apache.org/jira/browse/CB-11172
> Project: Apache Cordova
> Issue Type: Bug
> Components: Docs
> Reporter: Nikhil Khandelwal
> Assignee: Sarangan Rajamanickam
> Labels: triaged
>
> We want to eliminate - 6.x as people will reference it and it affects the SEO
> of future versions of the docs. We want everyone to use "latest" docs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]