Use more stable Scratch method
This commit is contained in:
parent
9a7b1b568c
commit
2ac3b03ddc
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
<h2>Selected Presentations</h2>
|
<h2>Selected Presentations</h2>
|
||||||
{{ $featuredpubs := where .Pages ".Params.featured" "==" true }}
|
{{ $featuredpubs := where .Pages ".Params.featured" "==" true }}
|
||||||
{{ range $featuredpubs }}
|
{{ range $featuredpubs }}
|
||||||
{{ .Scratch.Add "showAbstract" true }}
|
{{ .Scratch.Set "showAbstract" true }}
|
||||||
{{ partial "academia/list-single.html" . }}
|
{{ partial "academia/list-single.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<hr />
|
<hr />
|
||||||
|
|
Loading…
Reference in a new issue