{{currentOffset = '' }} {{if currentPage == null}}
{{currentPage = 1}} {{elseif currentPage > 1}}
{{currentOffset = (currentPage - 1) * 6}} {{else}}
{{currentOffset = 0}}{{/if}}
{{ collection:blogs title:isnt="Blog" paginate="6"
offset="{{currentOffset}}" as="posts" sort="date:desc" }} {{
realTotalPages = '{{ collection:count in="blogs"
title:isnt="Blog" }}'}}
{{posts}} {{ if no_results }}
{{ paginate }} {{partial:home-blog-pagination}} {{ /paginate
}}
{{ /collection:blogs }}
No posts were found.
{{ else }} {{ /if }}{{/posts}}Article Categories
{{ taxonomy:blog_categories }}
{{/taxonomy:blog_categories}}