Skip to content

Commit 9f8bede

Browse files
committed
only allow github avatars in community page
1 parent 4f1af87 commit 9f8bede

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
<!-- favicons -->
5151
<link rel="shortcut icon" href="/assets/img/favicon.png">
5252

53-
<!-- allow github profile images -->
54-
{% if page.title == "Community" %}
53+
{% if page.path contains "community" %}
54+
<!-- allow github profile images, only in community page -->
5555
<meta http-equiv="Content-Security-Policy" content="img-src 'self' data: blob: https://avatars.githubusercontent.com/;">
5656
{% endif %}
5757
</head>

0 commit comments

Comments
 (0)