Skip to content

Commit 9d52d74

Browse files
Zach LasiukZach Lasiuk
authored andcommitted
updated author analytic tracking
1 parent bd3f0d2 commit 9d52d74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

themes/arm-design-system-hugo-theme/layouts/learning-paths/learningpathall.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
{{ with .Site.GetPage $thisdir}}
3939
<h6 id="learning-path-title" class="u-margin-top-1/2" style="font-size:1em; font-weight: normal;">{{ .Params.Title }}</h6>
4040
<!-- Author name hidden but availible for analytics -->
41-
<div hidden id="learning-path-author" data-author="{{.Params.author_primary}}"></div>
41+
<div hidden id="learning-path-author"
42+
data-author='{{ if reflect.IsSlice .Params.author }}{{ delimit .Params.author ", " }}{{ else }}{{ .Params.author }}{{ end }}'></div>
4243
{{ end }}
4344

4445

0 commit comments

Comments
 (0)