aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/templates
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2024-01-03 03:04:49 +0000
committerKevin J Hoerr <kjhoerr@protonmail.com>2024-01-03 03:04:49 +0000
commitf671af66bc718bc2e8529b0419665df6c6c0a6f9 (patch)
tree48fbc7c301ee61f00c86ee3edd115c43ab3f10ac /src/templates
parent760d1e9ff42b3beccdc6643c982edfde8be2835e (diff)
downloadsubmelon.dev-f671af66bc718bc2e8529b0419665df6c6c0a6f9.tar.gz
submelon.dev-f671af66bc718bc2e8529b0419665df6c6c0a6f9.tar.bz2
submelon.dev-f671af66bc718bc2e8529b0419665df6c6c0a6f9.zip
page.njk: Remove unexpected char ':' from published CSP policy
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/layouts/page.njk5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/templates/layouts/page.njk b/src/templates/layouts/page.njk
index 923ede7..7e27af6 100644
--- a/src/templates/layouts/page.njk
+++ b/src/templates/layouts/page.njk
@@ -1,5 +1,6 @@
---
-copyYear: 2024
+# technically for any website/blog this should be year of first publication - first commit in git was 2022, but it was available at least from 2020
+copyYear: 2022
author: kjhoerr
description: The official website of Kevin Hoerr, developer of websites.
themeColor: "#e1e1e1"
@@ -17,7 +18,7 @@ themeColor: "#e1e1e1"
<meta name="twitter:title" content="{{ title if title else pageTitle }}"/>
<meta name="twitter:creator" content="{{ author }}"/>
<meta name="twitter:card" content="summary"/>
- <meta http-equiv="Content-Security-Policy" content="{{ ( "default-src 'self';img-src 'self' data:;script-src 'none';object-src 'none';base-uri 'none';connect-src: 'none';" if eleventy.env.runMode == "build" else "default-src http://localhost:8080/;img-src http://localhost:8080/ data:;connect-src ws://localhost:8080/;script-src 'strict-dynamic' 'sha512-7Y25+FX/kRUbZEHtQBOSLffzofBxz8ABQErLAVpGkfzactkpJU5wtTmhIfIZeTw7VHg1JeTIC5kHkzPq7LqR1w==';" ) | safe }}">
+ <meta http-equiv="Content-Security-Policy" content="{{ ( "default-src 'self';img-src 'self' data:;script-src 'none';object-src 'none';base-uri 'none';connect-src 'none';" if eleventy.env.runMode == "build" else "default-src http://localhost:8080/;img-src http://localhost:8080/ data:;connect-src ws://localhost:8080/;script-src 'strict-dynamic' 'sha512-7Y25+FX/kRUbZEHtQBOSLffzofBxz8ABQErLAVpGkfzactkpJU5wtTmhIfIZeTw7VHg1JeTIC5kHkzPq7LqR1w==';" ) | safe }}">
<meta name="generator" content="{{ eleventy.generator }}">
<link rel="stylesheet" href="{{ '/styles.css' | url }}"/>
<link rel="icon" href="{{ '/favicon-32x32.png' | url }}" type="image/png"/>