{{- define "headTpl" -}} {{- partial "head/preload-css" (dict "href" "https://download.pingcap.com/style/gridtab.min.css") -}} {{- partial "head/preload-css" (dict "href" "/css/cases.css") -}} {{$.Scratch.Set "nav_active" "cases"}} {{$.Scratch.Set "data_i18_link" "/success-stories" }} {{$.Scratch.Set "data_i18_cn" true }} {{- end -}} {{- define "main" -}}

TiDB 现已被 1500 多家不同行业的领先企业应用在实际生产环境。

{{ $posts := where (where (where .Site.Pages "Section" "blog-cn") ".Params.title" "!=" nil) ".Params.category" "==" "case" }}
{{- range $index, $toc := .Site.Data.cases_cn_toc -}}
{{- .name -}}
{{- partial "cases/tab-panel.html" (dict "posts" $posts "name" .name "global" .) -}}
{{- end -}}
{{- end -}} {{- define "footJS" -}} {{- end -}}