<meta charset="utf-8">
<title>{{.Title | default site.Title}}</title>

<!-- base url -->
{{ if or (eq site.BaseURL "/") (eq site.BaseURL "http://localhost:1313/") (eq site.BaseURL "http://examplesite.org/") (eq site.BaseURL "https://examplesite.org/") (eq site.BaseURL "http://examplesite.com/") (eq site.BaseURL "https://examplesite.com/")}}{{else}}
<base href="{{ site.BaseURL }}">
{{ end }}

<!-- multilingual SEO optimizations -->
{{ if .IsTranslated }}
{{ range .AllTranslations }}
<link rel="alternate" hreflang="{{.Lang}}" href="{{ .RelPermalink | absLangURL }}">
{{ end }}
<link rel="alternate" hreflang="x-default" href="{{ .RelPermalink | absLangURL }}">
{{ end }}

<!-- mobile responsive meta -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
<!-- theme meta -->
<meta name="theme-name" content="geeky-hugo" />
<meta name="description" content="{{ .Params.Description | default site.Params.description }}">
{{ with site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}

<!-- favicon -->
{{ partialCached "favicon" . }}


<!-- manifest -->
{{ partialCached "manifest" . }}


<!-- site verifications -->
{{ partialCached "site-verifications.html" . }}


<!-- opengraph and twitter card -->
{{ partial "basic-seo.html" . }}

<!-- custom script -->
{{ site.Params.custom_script | safeHTML}}


<!-- google analytics -->
{{ template "_internal/google_analytics.html" . }}


<!-- google tag manager -->
{{ partialCached "gtm.html" . }}


<!-- matomo analytics -->
{{ partialCached "matomo-analytics.html" . }}


<!--  Baidu analytics -->
{{ partialCached "baidu-analytics.html" . }}


<!-- Plausible Analytics -->
{{ partialCached "plausible-analytics.html" . }}


<!-- Counter Analytics -->
{{ partialCached "counter-analytics.html" . }}


<!-- Crisp Chat -->
{{ partialCached "crisp-chat.html" . }}