提交 25c90929 编写于 作者: F freesky-edward

Fix events show bug

上级 01642b74
......@@ -9,8 +9,8 @@
</h2>
<ul>
{{ $events := .Paginate (where .Data.Pages "Type" "events") }}
{{ range first 2 $events.Pages }}
{{ $events := where .Data.Pages "Type" "events" }}
{{ range first 4 $events }}
<li>
<h6>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册