Skip to content
Snippets Groups Projects
Unverified Commit 97722476 authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

Merge pull request #398 from osunyorg/fix-index-posts

Options pour les index de posts
parents c5a02354 122c8e0f
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,12 @@ params:
show_description: true
truncate_description: 200 # Set to 0 to disable truncate
layout: list # grid | list
options:
hide_image: false
hide_summary: false
hide_category: false
hide_author: false
hide_date: false
share_links:
facebook: true
twitter: true
......
......@@ -3,6 +3,10 @@
<p>{{ i18n "categories.no_post" }}</p>
{{ end }}
{{ range .Paginator.Pages }}
{{ partial "posts/post.html" (dict "post" . )}}
{{ partial "posts/post.html"
(dict
"post" .
"options" site.Params.posts.index.options
)}}
{{ end }}
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment