diff --git a/eleventy.config.js b/eleventy.config.js
index 7df2a2d..ed0c39e 100644
--- a/eleventy.config.js
+++ b/eleventy.config.js
@@ -20,6 +20,9 @@ module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy("src/robots.txt");
eleventyConfig.addPassthroughCopy("src/sitemap.xml");
+ // Copy Apache security headers config to the site root
+ eleventyConfig.addPassthroughCopy({ "src/.htaccess": ".htaccess" });
+
// Watch CSS files for changes
eleventyConfig.addWatchTarget("src/assets/css/");
diff --git a/src/.htaccess b/src/.htaccess
new file mode 100644
index 0000000..08a5a01
--- /dev/null
+++ b/src/.htaccess
@@ -0,0 +1,19 @@
+
+ # Force HTTPS for one year
+ Header always set Strict-Transport-Security "max-age=31536000"
+
+ # Prevent MIME sniffing
+ Header always set X-Content-Type-Options "nosniff"
+
+ # Prevent clickjacking (also enforced via CSP frame-ancestors)
+ Header always set X-Frame-Options "DENY"
+
+ # Control referrer leakage
+ Header always set Referrer-Policy "strict-origin-when-cross-origin"
+
+ # Restrict browser features
+ Header always set Permissions-Policy "geolocation=(), microphone=(), camera=(), payment=(), usb=(), magnetometer=(), gyroscope=()"
+
+ # Content Security Policy (no unsafe-inline/unsafe-eval in script-src)
+ Header always set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' https://organisationka.b-cdn.net; font-src 'self' https://fonts.gstatic.com; connect-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'; object-src 'none'"
+
diff --git a/src/_includes/layouts/base.njk b/src/_includes/layouts/base.njk
index 321a32b..4693055 100644
--- a/src/_includes/layouts/base.njk
+++ b/src/_includes/layouts/base.njk
@@ -1,5 +1,5 @@
-
+
@@ -100,43 +100,8 @@
}
-
-
-
+
+
{% include "partials/nav.njk" %}
diff --git a/src/_includes/partials/faq.njk b/src/_includes/partials/faq.njk
index a0e9a69..311bcd7 100644
--- a/src/_includes/partials/faq.njk
+++ b/src/_includes/partials/faq.njk
@@ -8,7 +8,7 @@
{% for item in t.faq.items %}
-