layouts/develop/list.html
{{ partial "docs-nav.html" . }} {{ partial "breadcrumbs" . }}
{{ with .Params.description }}
{{ . | markdownify }}
{{ 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 }} {{ if strings.HasSuffix .RelPermalink "/develop/" }}
| Try these Redis commands | Redis CLI |
|---|---|
PING``HSET user:1 name antirez vocation artist``HGETALL user:1``SET e 2.71``INCRBYFLOAT e 0.43``RENAME e pi``GET pi |
{{ partial "icons/cli-circle" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }} {{ partial "icons/cli-triangle" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }} {{ partial "icons/cli-star" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }}
PING
|
{{ end }} {{ .Content }} {{ if not .Params.hideListLinks }} {{ end }} {{ partial "feedback.html" . }} {{ if not .Params.hideTOC }} {{ partial "docs-toc.html" . }} {{ end }} {{ partial "scripts.html" . }}