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 9f8bede0 only allow github avatars in community page 9f8bede0 is described below commit 9f8bede013b7150a3e1ac65f8aa6ff1353b6ecc3 Author: Janardhan Pulivarthi <j...@protonmail.com> AuthorDate: Mon May 5 02:03:48 2025 +0000 only allow github avatars in community page --- _src/_includes/themes/apache/partials/_head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_src/_includes/themes/apache/partials/_head.html b/_src/_includes/themes/apache/partials/_head.html index 0c864d34..12ca5729 100644 --- a/_src/_includes/themes/apache/partials/_head.html +++ b/_src/_includes/themes/apache/partials/_head.html @@ -50,8 +50,8 @@ limitations under the License. <!-- favicons --> <link rel="shortcut icon" href="/assets/img/favicon.png"> - <!-- allow github profile images --> - {% if page.title == "Community" %} + {% if page.path contains "community" %} + <!-- allow github profile images, only in community page --> <meta http-equiv="Content-Security-Policy" content="img-src 'self' data: blob: https://avatars.githubusercontent.com/;"> {% endif %} </head> \ No newline at end of file