Explorar el Código

added filtering by date

pull/141/head
abhidj0090 hace 4 años
padre
commit
ee635a7583
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      layouts/partials/events.html

+ 2
- 2
layouts/partials/events.html Ver fichero

@@ -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>

Cargando…
Cancelar
Guardar