Browse Source

added filtering by date

pull/141/head
abhidj0090 4 years ago
parent
commit
ee635a7583
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      layouts/partials/events.html

+ 2
- 2
layouts/partials/events.html View File

</div> </div>
{{"<!-- /section title -->" | safeHTML}} {{"<!-- /section title -->" | safeHTML}}
{{ range first 3 (where site.RegularPages "Section" "==" "events")}}
{{ range first 3 (where site.RegularPages "Section" "==" "events").event_start_date}}
{{ .Render "upcoming"}} {{ .Render "upcoming"}}
{{ end }} {{ end }}
<div class="all-post text-center col-lg-12"> <div class="all-post text-center col-lg-12">
<a class="btn btn-main" href="{{ `upcoming` | absLangURL }}">{{ i18n "viewAllLectures" }}</a>
<a class="btn btn-main" href="{{ `event` | absLangURL }}">{{ i18n "viewAllLectures" }}</a>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save