head: Content Security Policy hinzugefügt

This commit is contained in:
Jan Kremer 2024-06-24 22:44:02 +02:00
parent 0d7db0bd7f
commit 4eb796d1ab
No known key found for this signature in database
2 changed files with 12 additions and 9 deletions

View file

@ -1,9 +1,12 @@
<meta charset="UTF-8"> <meta http-equiv="Content-Security-Policy" content="default-src 'self'" />
<meta name="description" content="Blog von Jan Kremer"> <meta charset="UTF-8" />
<meta name="keywords" content="Blog"> <meta name="description" content="Blog von Jan Kremer" />
<meta name="author" content="Jan Kremer"> <meta name="keywords" content="Blog" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="author" content="Jan Kremer" />
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s %s" .Title site.Title }}{{ end }}</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{ partialCached "head/css.html" . }} <title>
{{ partialCached "head/js.html" . }} {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s %s" .Title
{{ partial "analytics.html" . }} site.Title }}{{ end }}
</title>
{{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} {{
partial "head/analytics.html" . }}