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 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
{{strings.imprint[locale]}}
{{strings.privacy[locale]}}
-
Code
-
Stats
+
{{strings.code[locale]}}
+
{{strings.stats[locale]}}