diff --git a/layouts/partials/article/latest-version.html b/layouts/partials/article/latest-version.html index f9a75775e..1f75d28e0 100644 --- a/layouts/partials/article/latest-version.html +++ b/layouts/partials/article/latest-version.html @@ -2,7 +2,7 @@ {{ $latestVersion := $.Site.Data.versions.latest_version }} {{ $latestVersionURL := replaceRE "[^/]+.*?[0]" $latestVersion .RelPermalink }} {{ if not (eq $currentVersion $latestVersion) }} -
+

This page documents an earlier version of InfluxDB. View the latest version of this page in the InfluxDB {{ $latestVersion }} documentation. diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index d962a089d..fa7149361 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,12 +1,17 @@ + {{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 0) }}