diff --git a/_layouts/docs.html b/_layouts/docs.html index 5f0f324b..5f481c6b 100755 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -4,7 +4,7 @@ {% assign currentVersion = url[2] %} {% assign currentVersionBranch = currentVersion | replace: 'v', 'release-' %} {% assign currentVersionPath = '/docs/' | append: currentVersion | append: '/' %} -{% assign latestVersion = site.data.versions[0].version %} +{% assign latestVersion = "v1.0" %} {% assign filepath = page.url | replace: currentVersionPath %} {% assign repopath = 'docs/' | append: filepath | remove: '.html' | append: '.md' %} {% if repopath == 'docs/.md' %}{% assign repopath = 'docs/README.md' %}{% endif %}