39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title>
|
|
{{ if .IsHome }}
|
|
{{ site.Title }}
|
|
{{ else }}
|
|
{{ printf "%s | %s" .Title site.Title }}
|
|
{{ end }}
|
|
</title>
|
|
{{ partialCached "head/css.html" . }}
|
|
{{ partialCached "head/js.html" . }}
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&display=swap"
|
|
rel="stylesheet" />
|
|
{{ if not .IsHome }}
|
|
<meta property="og:title" content="{{ .Title }}" />
|
|
<meta property="og:url" content="{{ .RelPermalink }}" />
|
|
<meta property="og:description" content="{{ .Description }}" />
|
|
<meta property="og:type" content="website" />
|
|
{{ end }}
|
|
{{ if eq .Name "Contact" }}
|
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
<script
|
|
id="zammad_form_script"
|
|
src="https://help.sr2.uk/assets/form/form.js"></script>
|
|
<script>
|
|
$(function () {
|
|
$("#zammad-feedback-form").ZammadForm({
|
|
agreementMessage: {{ site.Params.feedback.agreementMessage }},
|
|
messageSubmit:{{ site.Params.feedback.messageSubmit }},
|
|
messageThankYou:{{ site.Params.feedback.messageThankYou }},
|
|
showTitle: false,
|
|
noCSS: true,
|
|
});
|
|
});
|
|
</script>
|
|
{{ end }}
|