File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
docs/dokka-presets/templates Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 77<head >
88 <meta name =" viewport" content =" width=device-width, initial-scale=1" charset =" UTF-8" >
99 <@page_metadata.display/ >
10+ <#-- AWS Analytics tracking script - Implements site-wide analytics and tracking functionality -->
11+ <script src =" https://a0.awsstatic.com/s_code/js/3.0/awshome_s_code.js" ></script >
1012 <@template_cmd name="pathToRoot" ><script >var pathToRoot = " ${pathToRoot}" ; </script ></@template_cmd >
1113 <script >document .documentElement .classList .replace (" no-js" ," js" ); </script >
1214 <#-- This script doesn't need to be there but it is nice to have
2426 }
2527 }
2628 </script >
29+ <#-- Scripts for onboarding AWS Shortbread - Manages cookie consent banners and user preferences to help ensure
30+ compliance with privacy regulations like GDPR -->
31+ <script >var existingShortbreadEl = document .getElementById (" awsccc-sb-ux-c" );
32+ existingShortbreadEl && existingShortbreadEl .remove ();
33+ </script >
34+ <script src =" https://prod.assets.shortbread.aws.dev/shortbread.js" ></script >
35+ <link href =" https://prod.assets.shortbread.aws.dev/shortbread.css" rel =" stylesheet" >
36+ <script >const shortbread = AWSCShortbread ();
37+ shortbread .checkForCookieConsent ();
38+ </script >
2739 <#-- Resources (scripts, stylesheets) are handled by Dokka.
2840 Use customStyleSheets and customAssets to change them. -->
2941 <@resources/ >
You can’t perform that action at this time.
0 commit comments