Skip to content
Snippets Groups Projects
Commit 122c8e0f authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent c5a02354
No related branches found
No related tags found
No related merge requests found
...@@ -81,6 +81,12 @@ params: ...@@ -81,6 +81,12 @@ params:
show_description: true show_description: true
truncate_description: 200 # Set to 0 to disable truncate truncate_description: 200 # Set to 0 to disable truncate
layout: list # grid | list layout: list # grid | list
options:
hide_image: false
hide_summary: false
hide_category: false
hide_author: false
hide_date: false
share_links: share_links:
facebook: true facebook: true
twitter: true twitter: true
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
<p>{{ i18n "categories.no_post" }}</p> <p>{{ i18n "categories.no_post" }}</p>
{{ end }} {{ end }}
{{ range .Paginator.Pages }} {{ range .Paginator.Pages }}
{{ partial "posts/post.html" (dict "post" . )}} {{ partial "posts/post.html"
(dict
"post" .
"options" site.Params.posts.index.options
)}}
{{ end }} {{ end }}
</div> </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