1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 09:22:55 +02:00

docs: move algolia config to hugo config

This commit is contained in:
XhmikosR
2024-03-13 08:38:53 +02:00
parent 45fe28c5a6
commit f7f0026e4a
4 changed files with 18 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
<link rel="canonical" href="{{ .Permalink }}">
{{ if (ne .Page.Layout "examples") -}}
<link rel="preconnect" href="https://ak7kmzkzhq-dsn.algolia.net" crossorigin>
<link rel="preconnect" href="https://{{ .Site.Params.algolia.appId | lower }}-dsn.algolia.net" crossorigin>
{{- end }}
<title>{{ if .IsHome }}{{ .Site.Title | markdownify }} · {{ .Site.Params.subtitle | markdownify }}{{ else }}{{ .Title | markdownify }} · {{ .Site.Title | markdownify }} v{{ .Site.Params.docs_version }}{{ end }}</title>