Skip to content

Commit

Permalink
if -> with
Browse files Browse the repository at this point in the history
  • Loading branch information
fboehm committed Jan 7, 2020
1 parent e52d8f4 commit f8fe87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h4>{{ .Date.Format "2 January 2006" }}</h4>
<h2 class="is-center">Recent Works</h2>
</div>
<ul class="compact fa-ul">
{{ if .Site.Data }}
{{ with .Site.Data }}
{{ $works := (merge (merge (merge .Site.Data.papers .Site.Data.presentations) .Site.Data.courses) .Site.Data.software) }}
{{ range first 10 (sort $works "date" "desc") }}
{{ if not .exclude_latest }}
Expand Down

0 comments on commit f8fe87c

Please sign in to comment.