{{ .Title }}
- {{ partial "article/latest-version.html" . }} + {{ partial "article/stable-version.html" . }} {{ partial "article/enterprise.html" . }} {{ partial "article/cloud.html" . }} {{ .Content }} {{ partial "article/tags.html" . }} - + {{ if in .RelPermalink "/cloud/"}} {{ partial "article/_cloud-feedback.html"}} {{ else }} diff --git a/layouts/partials/article/latest-version.html b/layouts/partials/article/latest-version.html deleted file mode 100644 index 1f75d28e0..000000000 --- a/layouts/partials/article/latest-version.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 0) .RelPermalink }} -{{ $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. -
-
+ This page documents an earlier version of InfluxDB. InfluxDB {{ $stableVersion }} is the latest stable version.
+ View this page in the {{ $stableVersion }} documentation.
+
+ This page documents a pre-release version of InfluxDB. InfluxDB {{ $stableVersion }} is the latest stable version.
+ View this page in the {{ $stableVersion }} documentation.
+