浏览代码

added filtering by date

pull/141/head
abhidj0090 4 年前
父节点
当前提交
ee635a7583
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      layouts/partials/events.html

+ 2
- 2
layouts/partials/events.html 查看文件

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

正在加载...
取消
保存