From d83a907eab21eceeff09f3de15933f4997bafad8 Mon Sep 17 00:00:00 2001 From: samuel-p Date: Thu, 30 Jul 2020 20:10:08 +0200 Subject: [PATCH 1/2] updated referrer policy --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d18750..1e02958 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The following Parameters are set directly on the Web-Server. ``` Content-Security-Policy: default-src 'none'; script-src 'self' https://plausible.sp-codes.de; object-src 'none'; style-src 'self'; img-src 'self'; media-src 'none'; frame-src 'none'; font-src 'self'; connect-src 'self' https://plausible.sp-codes.de; require-trusted-types-for 'script' -Referrer-Policy: same-origin +Referrer-Policy: strict-origin-when-cross-origin Feature-Policy: sync-xhr 'self' Strict-Transport-Security: max-age=31536000; includeSubDomains; preload X-Content-Type-Options: nosniff From 9cce68b59743a81be15b4c0facad378514f82156 Mon Sep 17 00:00:00 2001 From: samuel-p Date: Thu, 30 Jul 2020 20:39:33 +0200 Subject: [PATCH 2/2] updated strings --- src/_data/strings.json | 8 ++++++++ src/_includes/layouts/base.njk | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/_data/strings.json b/src/_data/strings.json index 9c14a39..fd2d568 100644 --- a/src/_data/strings.json +++ b/src/_data/strings.json @@ -6,5 +6,13 @@ "privacy": { "de": "Datenschutz", "en": "Privacy" + }, + "code": { + "de": "Code", + "en": "Code" + }, + "stats": { + "de": "Statistiken", + "en": "Stats" } } diff --git a/src/_includes/layouts/base.njk b/src/_includes/layouts/base.njk index 26cad56..cacdc48 100644 --- a/src/_includes/layouts/base.njk +++ b/src/_includes/layouts/base.njk @@ -75,8 +75,8 @@ title: sp-codes