Skip to content

Commit 4f1af87

Browse files
committed
only apply the img-src rule to single page
1 parent 2ef8b82 commit 4f1af87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_src/_includes/themes/apache/partials/_head.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,7 @@
5151
<link rel="shortcut icon" href="/assets/img/favicon.png">
5252

5353
<!-- allow github profile images -->
54-
<meta http-equiv="Content-Security-Policy" content="img-src 'self' data: blob: https://avatars.githubusercontent.com/;">
54+
{% if page.title == "Community" %}
55+
<meta http-equiv="Content-Security-Policy" content="img-src 'self' data: blob: https://avatars.githubusercontent.com/;">
56+
{% endif %}
5557
</head>

0 commit comments

Comments
 (0)