diff options
Diffstat (limited to 'www/layouts/_partials')
| -rw-r--r-- | www/layouts/_partials/preview/posts.html | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/www/layouts/_partials/preview/posts.html b/www/layouts/_partials/preview/posts.html index f2cb640..291c4b2 100644 --- a/www/layouts/_partials/preview/posts.html +++ b/www/layouts/_partials/preview/posts.html @@ -1,5 +1,11 @@  {{ $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" .) | 
