Opt not to show abstracts for non-featured publications on list page
This commit is contained in:
parent
a506ca969c
commit
9a7b1b568c
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
<h2>Selected Presentations</h2>
|
||||
{{ $featuredpubs := where .Pages ".Params.featured" "==" true }}
|
||||
{{ range $featuredpubs }}
|
||||
{{ .Scratch.Add "showAbstract" true }}
|
||||
{{ partial "academia/list-single.html" . }}
|
||||
{{ end }}
|
||||
<hr />
|
||||
|
|
Loading…
Reference in a new issue