From 57843fb62f368b406fc34517b4fd910a4d6fc810 Mon Sep 17 00:00:00 2001 From: Pierre Dubois Date: Tue, 22 Oct 2024 09:41:58 -0400 Subject: [PATCH] Content - GCWeb Jekyll - Add support for integrity hash in custom script (#2435) --- sites/resources-inc/footer.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sites/resources-inc/footer.html b/sites/resources-inc/footer.html index 60f8dfa80..877009703 100644 --- a/sites/resources-inc/footer.html +++ b/sites/resources-inc/footer.html @@ -4,7 +4,11 @@ {%- if page.script.first -%} {%- for js in page.script -%} - + {%- if js.first -%} + + {%- elsif js -%} + + {%- endif -%} {%- endfor -%} {%- elsif page.script -%}