Skip to content

Commit ee9a1ea

Browse files
Apply suggestions from code review
Co-authored-by: Peter Schewe <[email protected]>
1 parent 9406603 commit ee9a1ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hugo-modules/core/utils/seo/private/get-tags.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
{{ end }}
3939

4040
{{ with $seo.locale }}
41-
{{ $c := dict "key" "locale" "value" .}}
41+
{{ $c := dict "key" "locale" "value" . }}
4242
{{ $tags = $tags | append (partialCached "utils/seo/tag/og" $c $c) }}
4343

4444
{{ $attr := dict "rel" "alternate" "href" $.Permalink "hreflang" . }}
@@ -52,7 +52,7 @@
5252
{{ $c := dict "name" "link" "attr" $attr }}
5353
{{ $tags = $tags | append $c }}
5454

55-
{{ $c2 := dict "key" "locale:alternate" "value" .code}}
55+
{{ $c2 := dict "key" "locale:alternate" "value" .code }}
5656
{{ $tags = $tags | append (partialCached "utils/seo/tag/og" $c2 $c2) }}
5757
{{ end }}
5858
{{ end }}

0 commit comments

Comments
 (0)