Skip to content
Snippets Groups Projects
Unverified Commit 9f6455ef authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Merge pull request #368 from osunyorg/block-agenda-fix

Agenda fix
parents c334555d 7757b50e
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@
{{ end -}}
</div>
{{ end }}
{{ if and .Params.events_categories $show_status }}
{{ if and .Params.dates.status $show_status }}
<p class="event-status">
{{ if eq .Params.dates.status "current"}}
{{- i18n "blocks.events.current" -}}
......@@ -64,14 +64,14 @@
</p>
</div>
{{- end -}}
{{ if and .Params.events_categories $show_category }}
<p class="event-categories">
{{- range $index, $category := .GetTerms "events_categories" -}}
<span>{{- $category.Title -}}</span>
{{- end -}}
</p>
{{ end }}
{{ end }}
{{ if and .Params.events_categories $show_category }}
<p class="event-categories">
{{- range $index, $category := .GetTerms "events_categories" -}}
<span>{{- $category.Title -}}</span>
{{- end -}}
</p>
{{- end -}}
{{ if eq $layout "large" }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment