diff options
Diffstat (limited to 'layouts/partials/all-posts.html')
-rw-r--r-- | layouts/partials/all-posts.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/all-posts.html b/layouts/partials/all-posts.html new file mode 100644 index 0000000..77d8a18 --- /dev/null +++ b/layouts/partials/all-posts.html @@ -0,0 +1,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 }} |