File tree Expand file tree Collapse file tree
themes/arm-design-system-hugo-theme/layouts/partials/head Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[params ]
2- # Validate the refreshed global navigation and footer on internal.learn.arm.com .
3- global_web_components_url = " https://www.arm.com/arm-global-web-components/devhub/test .js"
2+ # Use Arm's stable navigation and footer bundle internally .
3+ global_web_components_url = " https://www.arm.com/arm-global-web-components/devhub/app .js"
Original file line number Diff line number Diff line change 5555 integrity ="sha384-caAG7P/HrHxcdQa2gTEfvZYGPLQk7yRwVdvtRn6sa3TRKzcAyY1LMvObXKGhwFNb "
5656 crossorigin ="anonymous ">
5757</ script >
58- <!-- Arm Header & Footer loading. Local development uses the test bundle ;
59- deployment config can explicitly override the stable app.js default . -->
58+ <!-- Arm Header & Footer loading. All environments default to stable app.js ;
59+ deployment config can explicitly override the URL for controlled testing . -->
6060{{ $globalWebComponentsURL := .Site.Params.global_web_components_url | default "https://www.arm.com/arm-global-web-components/devhub/app.js" }}
61- {{ if and hugo.IsServer (not .Site.Params.global_web_components_url) }}
62- {{ $globalWebComponentsURL = "https://www.arm.com/arm-global-web-components/devhub/test.js" }}
63- {{ end }}
6461< script
6562 type ="text/javascript "
6663 src ="{{ $globalWebComponentsURL }} "
You can’t perform that action at this time.
0 commit comments