This section displays a list of archive for blog post on the site in a thumbnail style.
Code:
<div class="darkout-section">
{% include do-post-archive-thumbnail.html%}
</div>
pagination:
enabled: true
per_page: 8
category:
tags:
trail:
before: 1 # The number of links before the current page
after: 1 # The number of links after the current page
Step3: In the front matter under the pagination array “enabled” should be “true” and it is a mandatory value. Without enabling pagination post archive thumbnail will not be displayed.
step4: In the front matter under the pagination array “per_page” is used for number of blog post per page to be displayed.
step5: In the front matter under the pagination array “category” is used for defining which post category should be displayed. similarly “tags” can also be used.
# Pagination Settings
pagination:
enabled: true # Use options true or false
per_page: 6 # Use number of post per page
permalink: '/page/:num/' # Use pagination permalink here
title: ' - page :num' # Use pagination title here
limit: 0 # Use pagination limit here
sort_field: 'date' # Use sort_field options here
sort_reverse: true # Use options true or false
<div class="darkout-section">{% include do-post-archive-thumbnail.html%}</div>