This is an automated email from the ASF dual-hosted git repository.

janardhan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 4f1af876 only apply the img-src rule to single page
4f1af876 is described below

commit 4f1af876d788553252d3f2e0063a39254bd1d0ca
Author: Janardhan Pulivarthi <j...@protonmail.com>
AuthorDate: Mon May 5 01:51:41 2025 +0000

    only apply the img-src rule to single page
---
 _src/_includes/themes/apache/partials/_head.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/_src/_includes/themes/apache/partials/_head.html 
b/_src/_includes/themes/apache/partials/_head.html
index 51ea3fb2..0c864d34 100644
--- a/_src/_includes/themes/apache/partials/_head.html
+++ b/_src/_includes/themes/apache/partials/_head.html
@@ -51,5 +51,7 @@ limitations under the License.
   <link rel="shortcut icon" href="/assets/img/favicon.png">
   
   <!-- allow github profile images -->
-  <meta http-equiv="Content-Security-Policy" content="img-src 'self' data: 
blob: https://avatars.githubusercontent.com/;";>
+  {% if page.title == "Community" %}
+      <meta http-equiv="Content-Security-Policy" content="img-src 'self' data: 
blob: https://avatars.githubusercontent.com/;";>
+  {% endif %}
 </head>
\ No newline at end of file

Reply via email to