diff --git a/layouts/partials/blocks/templates/posts/alternate.html b/layouts/partials/blocks/templates/posts/alternate.html new file mode 100644 index 0000000000000000000000000000000000000000..b30b6952147104437054bd890a1207047a239f5f --- /dev/null +++ b/layouts/partials/blocks/templates/posts/alternate.html @@ -0,0 +1,10 @@ +<div class="alternate"> + {{ range $post := .posts -}} + {{ with site.GetPage (printf "/posts/%s" $post) }} + {{ partial "posts/post.html" (dict + "post" . + "heading" "h3" + ) }} + {{ end }} + {{ end }} +</div> \ No newline at end of file