{{ define "head" }} {{ end }} {{ define "main" }} {{ partial "docs-nav.html" . }} {{ partial "breadcrumbs" . }} {{ .Title }} {{ with .Params.description }}{{ . | markdownify }}{{ end }} {{ if .Params.categories }} {{ $visibleCategories := slice }} {{ range .Params.categories }} {{ if not (in (slice "docs" "operate" "integrate" "develop" "stack") .) }} {{ $visibleCategories = $visibleCategories | append (slice .) }} {{ end }} {{ end }} {{ range $index, $element := $visibleCategories }} {{ $displayName := $element }} {{ $color := "#ffffff" }} {{ if eq $element "rs" }} {{ $displayName = "Redis 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 Open Source" }} {{ $color = "#C795E3" }} {{ else if eq $element "redisinsight" }} {{ $displayName = "Redis Insight" }} {{ $color = "#FD4439" }} {{ end }} {{ $displayName }} {{ end }} {{ end }} {{ if .Params.bannerText }} {{ partial "banner-article.html" . }} {{ else }} {{ $ancestorDirs := slice }} {{ with .File }} {{ $ancestorDirs = split .Dir "/" }} {{ end }} {{ $currPage := .Page }} {{ range $i, $page := $ancestorDirs }} {{ if and $currPage.Params.bannerText $currPage.Params.bannerChildren }} {{ partial "banner-article.html" $currPage }} {{ end }} {{ $currPage = $currPage.Parent }} {{ end }} {{ end }} {{ .Content }} {{ if not .Params.hideListLinks }} {{ range .CurrentSection.Pages }} {{- .Title -}} {{ if .Description }} {{ .Description | markdownify }} {{ else }} {{ end }} {{ end }} {{ end }} {{ partial "feedback.html" . }} {{ if not .Params.hideTOC }} {{ partial "docs-toc.html" . }} {{ end }} {{ partial "scripts.html" . }} {{ end }}
{{ . | markdownify }}
{{ .Description | markdownify }}