diff --git a/config.toml b/config.toml index 5e3964140e8..251e5c2e2b8 100644 --- a/config.toml +++ b/config.toml @@ -42,6 +42,9 @@ menushortcutsnewtab = false # set true to open shortcuts links to a new tab/wind googleAnalytics = "UA-92003007-1" googleTagManager = "GTM-KNWQXKB" +bannerText = "This site is archived and no longer updated. For the latest Redis documentation, see [https://redis.io/docs/]" +bannerLink = "https://redis.io/docs/" + mac_dl_link = "https://downloads.redisinsight.redislabs.com/latest/redisinsight-mac.dmg" linux_dl_link = "https://downloads.redisinsight.redislabs.com/latest/redisinsight-linux64" windows_dl_link = "https://downloads.redisinsight.redislabs.com/latest/redisinsight-win.msi" diff --git a/layouts/partials/flex/body-beforecontent.html b/layouts/partials/flex/body-beforecontent.html index 209bfba7e6c..def67721f70 100644 --- a/layouts/partials/flex/body-beforecontent.html +++ b/layouts/partials/flex/body-beforecontent.html @@ -3,10 +3,10 @@ {{ partial "gtm-body" . | safeHTML }} {{ end }} {{ end }} -{{ if .Site.Params.bannerText }} - {{ partial "banner.html" . }} -{{ end }}