Skip to content

Commit a7296ca

Browse files
committed
event fix
1 parent 79031e6 commit a7296ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

themes/ropensci/layouts/events/list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ define "main" }}
2-
{{ $pages := (partial "calendar/future-events" (dict "Site" .Site)) }}
2+
{{ $pages := (partial "calendar/future-events" (dict "Site" (index hugo.Sites 0))) }}
33
{{ $featured := ( union (union (where $pages "Params.featured" true) (where $pages "Params.ropensci" true )) (where $pages "Type" "commcalls") ) }}
44
<section class="blog-hero">de
55
<div class="container bg-cubes">
@@ -15,7 +15,7 @@ <h1>{{ i18n "Future-ropensci-events" }}</h1>
1515
</div>
1616
</div>
1717
{{ end }}
18-
{{ partial "calendar/events" (dict "Site" .Site "Content" .Content "Tips" .Params.Tips ) }}
18+
{{ partial "calendar/events" (dict "Site" (index hugo.Sites 0) "Content" .Content "Tips" .Params.Tips ) }}
1919

2020
</div>
2121
</section>

0 commit comments

Comments
 (0)