mirror of
https://github.com/kubesphere/website.git
synced 2025-12-30 17:52:56 +00:00
39 lines
1.9 KiB
HTML
39 lines
1.9 KiB
HTML
|
|
<meta charset="utf-8">
|
|
<title>{{ with .Params.Title }}{{ . }}{{ else }}{{ with .Site.Params.title }}{{ . }}{{ end }}{{ end }}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<meta name="description" content="{{ with .Params.Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
|
|
<meta name="keywords" content="{{ with .Params.Keywords }}{{ range $i, $e := . }}{{ if $i }} {{ end }}{{ $e }}{{ end }}{{ else }}{{ with .Site.Params.keywords }}{{ . }}{{ end }}{{ end }}">
|
|
|
|
<meta property="og:type" content="article"/>
|
|
<meta property="og:title" content="{{ with .Params.Title }}{{ . }}{{ else }}{{ with .Site.Params.title }}{{ . }}{{ end }}{{ end }}"/>
|
|
<meta property="og:description" content="{{ with .Params.Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}"/>
|
|
<meta property="og:image" content="{{ with .Params.snapshot }}{{ . }}{{ else }}{{ with .Site.Params.snapshot }}{{ . | absURL }}{{ end }}{{ end }}"/>
|
|
<meta property="og:url" content="{{ .Permalink }}"/>
|
|
|
|
<meta name="docsearch:language" content="{{ .Site.LanguageCode }}" />
|
|
|
|
{{- partial "css.html" . -}}
|
|
|
|
<script src='{{ "js/jquery-3.5.0.min.js" | relURL }}'></script>
|
|
<script src='{{ "js/viewer.min.js" | relURL }}'></script>
|
|
<script src='{{ "js/jquery.modal.min.js" | relURL }}'></script>
|
|
|
|
{{ if .IsDescendant (.GetPage "/docs") }}
|
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
|
|
{{ end }}
|
|
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YYCVN36HT5"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-YYCVN36HT5');
|
|
</script>
|
|
|
|
|
|
|