We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e7cbb7 commit b0d2c8bCopy full SHA for b0d2c8b
1 file changed
themes/arm-design-system-hugo-theme/layouts/partials/head/head.html
@@ -29,7 +29,7 @@
29
{{/* Meta description: short, task-oriented summary for SERP and AI selection.
30
This is intentionally distinct from the JSON-LD description. */}}
31
{{- with .Params.description -}}
32
- {{- $d := . | plainify | htmlEscape | strings.TrimSpace -}}
+ {{- $d := . | plainify | htmlEscape | trim " \t\r\n" -}}
33
{{- if gt (len $d) 0 -}}
34
<meta name="description" content="{{ $d }}">
35
{{- end -}}
0 commit comments