Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions themes/gathering-theme/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ <h2 class="mt-3 mb-4 text-md title">{{ .title | markdownify }}</h2>

<!-- blog -->
{{ if $data.homepage.blog.enable }}
{{ if $data.homepage.events.items }}
<section class="latest-blog section-bottom">
<div class="container">
<h2>Upcoming Events</h2>
Expand All @@ -124,10 +125,12 @@ <h2>Upcoming Events</h2>
</div>
</section>
{{ end }}
{{ end }}
<!-- /blog -->

<!-- Upcoming events -->
{{ if $data.homepage.events.enable }}
{{ if $data.homepage.events.items }}
{{ with $data.homepage.events }}
<section id="section-feature">
<div class="container mt-8">
Expand Down Expand Up @@ -158,6 +161,7 @@ <h2>Upcoming Events</h2>
</section>
{{ end }}
{{ end }}
{{ end }}

<!-- schedule -->
{{ if $data.homepage.schedule.enable }}
Expand Down