mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
53 lines
2.5 KiB
HTML
53 lines
2.5 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 -->
|
|
{{ if .Site.Params.addGoogleAnalytics }}
|
|
<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>
|
|
{{ end }}
|
|
|
|
{{ if .Site.Params.addGoogleTag }}
|
|
<!-- Google Tag Manager -->
|
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
})(window,document,'script','dataLayer','GTM-W9FLX4R');</script>
|
|
<!-- End Google Tag Manager -->
|
|
|
|
<script type="text/javascript" src="//script.crazyegg.com/pages/scripts/0100/4419.js" async="async"></script>
|
|
{{ end }}
|
|
|
|
|
|
|