Pārlūkot izejas kodu

added filtering by date

pull/141/head
abhidj0090 pirms 4 gadiem
vecāks
revīzija
ee635a7583
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      layouts/partials/events.html

+ 2
- 2
layouts/partials/events.html Parādīt failu

@@ -13,12 +13,12 @@
</div>
{{"<!-- /section title -->" | safeHTML}}
{{ range first 3 (where site.RegularPages "Section" "==" "events")}}
{{ range first 3 (where site.RegularPages "Section" "==" "events").event_start_date}}
{{ .Render "upcoming"}}
{{ end }}
<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>

Notiek ielāde…
Atcelt
Saglabāt