mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-25 22:18:30 +02:00
don't add " - Qdrant" suffix to the page title if its name already contain it (#2201)
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user