Skip to content

Commit 138c537

Browse files
authored
Merge pull request #541 from ZakKemble/fix-various
Fix various
2 parents 30787fc + 59e9557 commit 138c537

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

_includes/post-nav.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
<p>{{ page.previous.title }}</p>
1010
</a>
1111
{% else %}
12-
<span class="btn btn-outline-primary disabled"
12+
<div class="btn btn-outline-primary disabled"
1313
prompt="{{ site.data.locales[lang].post.button.previous }}">
1414
<p>-</p>
15-
</span>
15+
</div>
1616
{% endif %}
1717

1818
{% if page.next.url %}
@@ -21,10 +21,10 @@
2121
<p>{{ page.next.title }}</p>
2222
</a>
2323
{% else %}
24-
<span class="btn btn-outline-primary disabled"
24+
<div class="btn btn-outline-primary disabled"
2525
prompt="{{ site.data.locales[lang].post.button.next }}">
2626
<p>-</p>
27-
</span>
27+
</div>
2828
{% endif %}
2929

3030
</div>

_includes/post-paginator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{% if show %}
4848
<!-- show number -->
4949
<li class="page-item {% if i == paginator.page %} active{% endif %}">
50-
<a class="page-link btn-box-shadow" href="{{ site.baseurl }}/{% if i > 1%}page{{ i }}/{% endif %}">{{ i }}</a>
50+
<a class="page-link btn-box-shadow" href="{% if i > 1 %}{{ site.paginate_path | replace: ':num', i | relative_url }}{% else %}{{ '/' | relative_url }}{% endif %}">{{ i }}</a>
5151
</li>
5252
{% else %}
5353
<!-- hide number -->

_includes/refactor-content.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
{% assign left = left | replace: '">', '"><span class="mr-2">' | append: '</span>' %}
218218

219219
{% assign _new_content = _new_content | append: mark_start
220-
| append: left | append: anchor | append: mark_end | append: right
220+
| append: left | append: anchor | append: right
221221
%}
222222

223223
{% endfor %}

_includes/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div id="sidebar" class="d-flex flex-column align-items-end">
66
<div class="profile-wrapper text-center">
77
<div id="avatar">
8-
<a href="{{ '/' | relative_url }}" alt="avatar" class="mx-auto">
8+
<a href="{{ '/' | relative_url }}" class="mx-auto">
99
{% if site.avatar != empty and site.avatar %}
1010
{% capture avatar_url %}
1111
{% if site.avatar contains '://' %}

0 commit comments

Comments
 (0)