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 2626< link rel ="canonical " href ="https://learn.arm.com{{ .Permalink }} " />
2727< title > {{ $title }}</ title >
2828
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 | trim " \t\r\n" -}}
33+ {{- if gt (len $d) 0 -}}
34+ < meta name ="description " content ="{{ $d }} ">
35+ {{- end -}}
36+ {{- end -}}
37+
2938{{ partial "head/jsonld.html" . }}
3039
3140<!-- Include the Arm standard Lato font for machines that don't have by default (Mac) -->
Original file line number Diff line number Diff line change 4343 "@type" "Course"
4444 "name" .Title
4545 -}}
46+ {{/* Schema description: audience-focused explanation for structured data. This is intentionally distinct from the HTML meta description. */}}
4647 {{- with .Params.who_is_this_for }}{{ $j = merge $j (dict "description" ( . | plainify )) }}{{ end -}}
4748 {{- if $duration }}{{ $j = merge $j (dict "timeRequired" $duration) }}{{ end -}}
4849 {{- with .Params.skilllevels }}{{ $j = merge $j (dict "educationalLevel" .) }}{{ end -}}
You can’t perform that action at this time.
0 commit comments