Skip to content

Commit a5e72d8

Browse files
authored
Merge pull request #2797 from madeline-underwood/canonical
Fix canonical URL generation to prevent malformed double-host URLs
2 parents 7cfd72c + ec27509 commit a5e72d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • themes/arm-design-system-hugo-theme/layouts/partials/head

themes/arm-design-system-hugo-theme/layouts/partials/head/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<!-- verify site ownership for Google -->
2424
<meta name="google-site-verification" content="BTfVb1OscFD-pN_bYZaTGmfx2_K3S1EbzvdKPepntvk" />
2525
<!-- add cannonical link to reinforce this page's validity for search engines, with a trailing / on the URL name-->
26-
<link rel="canonical" href="https://learn.arm.com{{ .Permalink }}" />
26+
<link rel="canonical" href="{{ .Permalink }}" />
2727
<title>{{ $title }}</title>
2828

2929
{{/* Meta description */}}

0 commit comments

Comments
 (0)