Fix: Nowe index has only 5 posts
parent
b91f2acde1
commit
ad30585169
2
TODO.md
2
TODO.md
|
@ -6,7 +6,7 @@
|
|||
- [ ] Emphasize `<code>`
|
||||
- [ ] Favicon
|
||||
- [ ] og + twitter card
|
||||
- [ ] Index, 5 posts + call2action
|
||||
- [x] Index, 5 posts
|
||||
- [ ] Change paginators (no vertical separator |)
|
||||
- [ ] Archive + About: Change title
|
||||
- [ ] Fonts, use one font for the title and another one (more readable) for the post text
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
</div>
|
||||
|
||||
<div class="posts-container">
|
||||
{{ range (.Paginate (where .Site.RegularPages "Type" "posts")).Pages }}
|
||||
{{ range first 5 (where .Site.RegularPages "Type" "posts") }}
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue