list only posts
This commit is contained in:
parent
3236c1d56e
commit
7b1bd41a54
|
@ -9,7 +9,8 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<div class="posts-list">
|
<div class="posts-list">
|
||||||
{{ range .Paginator.Pages }}
|
{{ $pag := .Paginate (where .Site.RegularPages "Type" "post") }}
|
||||||
|
{{ range $pag.Pages }}
|
||||||
<article class="post-preview">
|
<article class="post-preview">
|
||||||
<a href="{{ .Permalink }}">
|
<a href="{{ .Permalink }}">
|
||||||
<h2 class="post-title">{{ .Title }}</h2>
|
<h2 class="post-title">{{ .Title }}</h2>
|
||||||
|
|
Loading…
Reference in a new issue