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 aa67d5d commit bb25d0aCopy full SHA for bb25d0a
1 file changed
themes/arm-design-system-hugo-theme/layouts/partials/head/head.html
@@ -26,6 +26,15 @@
26
<link rel="canonical" href="https://learn.arm.com{{ .Permalink }}" />
27
<title>{{ $title }}</title>
28
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 -}}
33
+ {{- if gt (len $d) 0 -}}
34
+ <meta name="description" content="{{ $d }}">
35
+ {{- end -}}
36
+{{- end -}}
37
+
38
{{ partial "head/jsonld.html" . }}
39
40
<!-- Include the Arm standard Lato font for machines that don't have by default (Mac) -->
0 commit comments