don't add " - Qdrant" suffix to the page title if its name already contain it (#2201)

This commit is contained in:
trean
2026-03-12 01:08:40 +01:00
committed by GitHub
parent 1d8f16f979
commit f04215d1de
@@ -5,7 +5,12 @@
/>
<meta charset="UTF-8" />
<title>{{ .Title }} - Qdrant</title>
<!-- If the title contains "qdrant", don't add the - Qdrant suffix -->
{{ if findRE `(?i)qdrant` .Title }}
<title>{{ .Title }}</title>
{{ else }}
<title>{{ .Title }} - Qdrant</title>
{{ end }}
<link rel="icon" href="/favicon/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" />