Fix link space (#7600)

Merge pull request 7600
This commit is contained in:
Hodong Kim 2019-04-04 06:55:10 +09:00 committed by jekyllbot
parent 4f8e1f3d3f
commit 7440050367
1 changed files with 4 additions and 12 deletions

View File

@ -145,9 +145,7 @@ page with links to all but the current page.
{% if paginator.total_pages > 1 %} {% if paginator.total_pages > 1 %}
<div class="pagination"> <div class="pagination">
{% if paginator.previous_page %} {% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | relative_url }}"> <a href="{{ paginator.previous_page_path | relative_url }}">&laquo; Prev</a>
&laquo; Prev
</a>
{% else %} {% else %}
<span>&laquo; Prev</span> <span>&laquo; Prev</span>
{% endif %} {% endif %}
@ -156,20 +154,14 @@ page with links to all but the current page.
{% if page == paginator.page %} {% if page == paginator.page %}
<em>{{ page }}</em> <em>{{ page }}</em>
{% elsif page == 1 %} {% elsif page == 1 %}
<a href="{{ paginator.previous_page_path | relative_url }}"> <a href="{{ paginator.previous_page_path | relative_url }}">{{ page }}</a>
{{ page }}
</a>
{% else %} {% else %}
<a href="{{ site.paginate_path | relative_url | replace: ':num', page }}"> <a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">{{ page }}</a>
{{ page }}
</a>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% if paginator.next_page %} {% if paginator.next_page %}
<a href="{{ paginator.next_page_path | relative_url }}"> <a href="{{ paginator.next_page_path | relative_url }}">Next &raquo;</a>
Next &raquo;
</a>
{% else %} {% else %}
<span>Next &raquo;</span> <span>Next &raquo;</span>
{% endif %} {% endif %}