
{{ partial "header.html" . }}
{{ range ((.Paginator 5) (where .Data.Pages "Type" "post")).Pages }}
<div class="empty">&nbsp;</div>
  <div class="post-title">
    <a class="post-title-link" href="{{ .Permalink }}">{{ .Title }}</a>
  </div>{{ if isset .Params "tags" }}
      <div class="tags">tags:</br>
        {{ range  .Params.tags }}<a class="tag-link" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }} </a>{{ end }}</div>
    <div class="content-tags"><p>{{.Summary}}</p></div>{{ else }}
    <div class="content-full"><p>{{.Summary}}</p></div>  {{ end }}{{ end }}
    {{ partial "pagination.html" . }}
    {{ partial "footer.html" . }}


{{ partial "header.html" . }}
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") 5 }}
{{ range $paginator.Pages }}
<div class="empty">&nbsp;</div>
  <div class="post-title">
    <a class="post-title-link" href="{{ .Permalink }}">{{ .Title }}</a>
  </div>{{ if isset .Params "tags" }}
      <div class="tags">tags:</br>
        {{ range  .Params.tags }}<a class="tag-link" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }} </a>{{ end }}</div>
    <div class="content-tags"><p>{{.Summary}}</p></div>{{ else }}
    <div class="content-full"><p>{{.Summary}}</p></div>  {{ end }}{{ end }}
    {{ partial "pagination.html" . }}
    {{ partial "footer.html" . }}

Fix minor bug where pages were showing up instead of posts in pagination.
Fix minor bug where pages were showing up instead of posts in pagination.
