Use more stable Scratch method

pull/5/head
parent 9a7b1b568c
commit 2ac3b03ddc
Signed by: millironx
GPG Key ID: 139C07724802BC5D

@ -2,7 +2,7 @@
<h2>Selected Presentations</h2>
{{ $featuredpubs := where .Pages ".Params.featured" "==" true }}
{{ range $featuredpubs }}
{{ .Scratch.Add "showAbstract" true }}
{{ .Scratch.Set "showAbstract" true }}
{{ partial "academia/list-single.html" . }}
{{ end }}
<hr />

Loading…
Cancel
Save