_includes/pagination.html in jekyll-dash-1.1.3 vs _includes/pagination.html in jekyll-dash-1.2.0
- old
+ new
@@ -1,12 +1,12 @@
<!-- pagination -->
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
- <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">< previous</a>
+ <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}"><i class="fas fa-chevron-left"></i></a>
{% else %}
- <span>< previous</span>
+ <span><i class="fas fa-chevron-left"></i></span>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<span class="webjeda">{{ page }}</span>
@@ -16,11 +16,11 @@
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
- <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"> next ></a>
+ <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"><i class="fas fa-chevron-right"></i></a>
{% else %}
- <span>next ></span>
+ <span><i class="fas fa-chevron-right"></i></span>
{% endif %}
</div>
{% endif %}