From 0d76342ec78d3eb029235bef4c7c7fd201dcadd2 Mon Sep 17 00:00:00 2001
From: Jieiku
Date: Mon, 16 May 2022 06:48:55 -0700
Subject: Make Security Headers Configurable
---
templates/macros/head.html | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
(limited to 'templates')
diff --git a/templates/macros/head.html b/templates/macros/head.html
index 2c18807..6736cd9 100644
--- a/templates/macros/head.html
+++ b/templates/macros/head.html
@@ -195,9 +195,11 @@
{%- endmacro %}
{%- macro security() %}
- {%- if config.extra.security_headers %}
- {#- options: no-referrer, same-origin, strict-origin, strict-origin-when-cross-origin #}
-
+ {%- if config.extra.security_header_referrer %}
+
+ {%- endif %}
+ {%- if config.extra.security_header_csp %}
+
{%- endif %}
{%- endmacro %}
--
cgit v1.3.1