summaryrefslogtreecommitdiff
path: root/layouts/partials/all-posts.html
blob: 77d8a18df70c6c311f9ba459811fcbe24f82a1e6 (plain)
1
2
3
4
5
6
7
{{ range $index, $page := where .Site.RegularPages "Section" "blog" }}
  <div class="blog-item">
    {{ $page.Date.Format "January 2, 2006" }}
    <br>
    <a href="{{ $page.RelPermalink }}">{{ $page.Title }}</a>
  </div>
{{ end }}