57 lines
2.2 KiB
HTML
57 lines
2.2 KiB
HTML
{{- $params := .Scratch.Get "params" -}}
|
|
|
|
<meta name="author" content="{{ .Site.Author.name }}">
|
|
<meta name="author-link" content="{{ .Site.Author.link }}">
|
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage | and .Summary }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
|
|
|
|
{{- $keywords := .Keywords -}}
|
|
{{- if not $keywords -}}
|
|
{{- if .IsPage | and .Params.tags -}}
|
|
{{- $keywords = .Params.tags -}}
|
|
{{- else -}}
|
|
{{- $keywords = .Site.Params.keywords -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
{{- with $keywords -}}
|
|
<meta name="keywords" content='{{ delimit . ", " }}' />
|
|
{{- end -}}
|
|
|
|
{{- template "_internal/schema.html" . -}}
|
|
{{- template "_internal/opengraph.html" . -}}
|
|
{{- template "_internal/twitter_cards.html" . -}}
|
|
|
|
<meta name="application-name" content="{{ .Site.Params.app.title | default .Site.Title }}">
|
|
<meta name="apple-mobile-web-app-title" content="{{ .Site.Params.app.title | default .Site.Title }}">
|
|
|
|
{{- with .Site.Params.app.themeColor -}}
|
|
{{- $color := . -}}
|
|
{{- if ne (len $color) 2 -}}
|
|
{{- $color = dict "light" . "dark" . -}}
|
|
{{- end -}}
|
|
<meta name="theme-color" data-light="{{ $color.light }}" data-dark="{{ $color.dark }}" content="{{ $color.light }}">
|
|
{{- end -}}
|
|
|
|
{{- with .Site.Params.app.tileColor -}}
|
|
<meta name="msapplication-TileColor" content="{{ . }}">
|
|
{{- end -}}
|
|
<script type="text/javascript">
|
|
/** This section is only needed once per page if manually copying **/
|
|
if (typeof MauticSDKLoaded == 'undefined') {
|
|
var MauticSDKLoaded = true;
|
|
var head = document.getElementsByTagName('head')[0];
|
|
var script = document.createElement('script');
|
|
script.type = 'text/javascript';
|
|
script.src = 'https://ma.m3tam3re.com/media/js/mautic-form.js?vfad3b6d1';
|
|
script.onload = function() {
|
|
MauticSDK.onLoad();
|
|
};
|
|
head.appendChild(script);
|
|
var MauticDomain = 'https://ma.m3tam3re.com';
|
|
var MauticLang = {
|
|
'submittingMessage': "Please wait..."
|
|
}
|
|
}else if (typeof MauticSDK != 'undefined') {
|
|
MauticSDK.onLoad();
|
|
}
|
|
</script>
|