diff options
Diffstat (limited to 'www/layouts/_partials/preview/posts.html')
-rw-r--r-- | www/layouts/_partials/preview/posts.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/layouts/_partials/preview/posts.html b/www/layouts/_partials/preview/posts.html new file mode 100644 index 0000000..291c4b2 --- /dev/null +++ b/www/layouts/_partials/preview/posts.html @@ -0,0 +1,13 @@ +{{ $h := .h }} +{{ $is_first := true}} +{{ range .pages }} + {{ if $is_first }} + {{ $is_first = false }} + {{ else }} + <hr class="article-preview-hr"> + {{ end }} + {{ partial "preview/post.html" (dict + "h" $h + "page" .) + }} +{{ end }}
\ No newline at end of file |