diff --git a/content/operate/oss_and_stack/_index.md b/content/operate/oss_and_stack/_index.md index a19533f46f..46ec8b5002 100644 --- a/content/operate/oss_and_stack/_index.md +++ b/content/operate/oss_and_stack/_index.md @@ -2,4 +2,12 @@ title: Redis Community Edition and Stack description: Operate Redis Community Edition and Redis Stack. Redis OSS was renamed Redis Community Edition (CE) with the v7.4 release. linkTitle: Redis Community Edition and Stack ---- \ No newline at end of file + +categories: +- docs +- operate +- oss +- stack +--- + + diff --git a/content/operate/redisinsight/_index.md b/content/operate/redisinsight/_index.md index 61d124e7d8..34ea2d7905 100644 --- a/content/operate/redisinsight/_index.md +++ b/content/operate/redisinsight/_index.md @@ -2,6 +2,11 @@ title: Redis Insight description: Install and manage Redis Insight linkTitle: Redis Insight +categories: +- docs +- operate +- redisinsight --- -For information on using Redis Insight, see [these pages]({{< relref "/develop/tools/insight" >}}). \ No newline at end of file +For information on using Redis Insight, see [these pages]({{< relref "/develop/tools/insight" >}}). + diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 22d35e8f08..00d44a5b05 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,4 +8,4 @@

{{ .Title }}

-{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/operate/list.html b/layouts/operate/list.html index d3b03e7237..66e01fe24b 100644 --- a/layouts/operate/list.html +++ b/layouts/operate/list.html @@ -15,8 +15,53 @@

{{ .Title }}

- {{ with .Params.description }}

{{ . | markdownify }}

{{ end }} - + {{ with .Params.description }}

{{ . | markdownify }}

{{ end }} + {{ if .Params.categories }} +
+ + + + {{ $visibleCategories := slice }} + {{ range .Params.categories }} + {{ if not (in (slice "docs" "operate" "integrate" "develop") .) }} + {{ $visibleCategories = $visibleCategories | append (slice .) }} + {{ end }} + {{ end }} + {{ range $index, $element := $visibleCategories }} + {{ $displayName := $element }} + {{ $color := "#ffffff" }} + {{ if eq $element "rs" }} + {{ $displayName = "Redis Enterprise Software" }} + {{ $color = "#DCFF1E" }} + {{ else if eq $element "rc" }} + {{ $displayName = "Redis Cloud" }} + {{ $color = "#80DBFF" }} + {{ else if eq $element "kubernetes" }} + {{ $displayName = "Redis Enterprise for Kubernetes" }} + {{ $color = "#8A99A0" }} + {{ else if eq $element "oss" }} + {{ $displayName = "Redis Community Edition" }} + {{ $color = "#C795E3" }} + {{ else if eq $element "stack" }} + {{ $displayName = "Redis Stack" }} + {{ $color = "#49859C" }} + {{ else if eq $element "redisinsight" }} + {{ $displayName = "Redis Insight" }} + {{ $color = "#FD4439" }} + {{ end }} + + {{ end }} + + + + + +
+ {{ $displayName }} +
+
+{{ end }} + {{ if .Params.bannerText }} diff --git a/layouts/operate/single.html b/layouts/operate/single.html index 21f59282a7..2ad4768367 100644 --- a/layouts/operate/single.html +++ b/layouts/operate/single.html @@ -13,8 +13,58 @@

{{ partial "icons/logo-stack.html" (dict "context" . "class" "stack-logo-inline") }} {{ end }} {{ .Title }}

- {{ with .Params.description }}

{{ . | markdownify }}

{{ end }} - + {{ with .Params.description }}

{{ . | markdownify }}

{{ end }} + {{ if .Params.categories }} +
+ + + + {{ $visibleCategories := slice }} + {{ range .Params.categories }} + {{ if not (in (slice "docs" "operate" "integrate" "develop") .) }} + {{ $visibleCategories = $visibleCategories | append (slice .) }} + {{ end }} + {{ end }} + {{ range $index, $element := $visibleCategories }} + {{ $displayName := $element }} + {{ $color := "#ffffff" }} + {{ if eq $element "rs" }} + {{ $displayName = "Redis Enterprise Software" }} + {{ $color = "#DCFF1E" }} + {{ else if eq $element "rc" }} + {{ $displayName = "Redis Cloud" }} + {{ $color = "#80DBFF" }} + {{ else if eq $element "kubernetes" }} + {{ $displayName = "Redis Enterprise for Kubernetes" }} + {{ $color = "#8A99A0" }} + {{ else if eq $element "oss" }} + {{ $displayName = "Redis Community Edition" }} + {{ $color = "#C795E3" }} + {{ else if eq $element "stack" }} + {{ $displayName = "Redis Stack" }} + {{ $color = "#49859C" }} + {{ else if eq $element "redisinsight" }} + {{ $displayName = "Redis Insight" }} + {{ $color = "#FD4439" }} + {{ end }} + + {{ end }} + + + + + +
+ {{ $displayName }} +
+
+{{ end }} + + + + + + {{ if .Params.bannerText }}