|
|
|
@ -5,14 +5,14 @@
|
|
|
|
|
{% else %} |
|
|
|
|
<span>« Prev</span> |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
{{ site.baseurl }} |
|
|
|
|
{% for page in (1..paginator.total_pages) %} |
|
|
|
|
{% if page == paginator.page %} |
|
|
|
|
<em>{{ page }}</em> |
|
|
|
|
{% elsif page == 1 %} |
|
|
|
|
<a href="{{ '/index.html' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a> |
|
|
|
|
<a href="{{ '/index.html' }}">{{ page }}</a> |
|
|
|
|
{% else %} |
|
|
|
|
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a> |
|
|
|
|
<a href="/{{ site.paginate_path | replace: ':num', page }}"> {{ page }}</a> |
|
|
|
|
{% endif %} |
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
|