forked from MarseyWorld/MarseyWorld
CSP: content security policies are safe
parent
0495d00629
commit
2792a06c21
|
@ -52,7 +52,7 @@
|
||||||
{% macro meta_tags_1(csp, author, exclude_author) %}
|
{% macro meta_tags_1(csp, author, exclude_author) %}
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="description" content="{{DESCRIPTION}}">
|
<meta name="description" content="{{DESCRIPTION}}">
|
||||||
<meta http-equiv="Content-Security-Policy" content="{{csp | default(CONTENT_SECURITY_POLICY_DEFAULT, true)}}">
|
<meta http-equiv="Content-Security-Policy" content="{{csp | default(CONTENT_SECURITY_POLICY_DEFAULT, true) | safe}}">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="thumbnail" content="{{'site_preview.webp' | asset_siteimg}}">
|
<meta name="thumbnail" content="{{'site_preview.webp' | asset_siteimg}}">
|
||||||
{% if not exclude_author %}
|
{% if not exclude_author %}
|
||||||
|
|
Loading…
Reference in New Issue