Skip to content

Commit

Permalink
Fix pagination order; fix relative index link.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjy committed Jan 7, 2025
1 parent 7098388 commit 8c9c298
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<div class="container-fluid">

<a class="navbar-brand" href="index.html"><img src="/assets/images/svg_logos/Dark/SFG 4.svg" height="40px;" /> </a>
<a class="navbar-brand" href="/index.html"><img src="/assets/images/svg_logos/Dark/SFG 4.svg" height="40px;" /> </a>

<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
Expand Down
4 changes: 2 additions & 2 deletions blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2>{{ post.title }}</h2>
{% if paginator.previous_page %}
<a class="btn btn-outline-primary" href="{{ paginator.previous_page_path }}">Older</a>
{% else %}
<span class="btn btn-outline-secondary disabled">Older</span>
<span class="btn btn-outline-secondary disabled">Newer</span>
{% endif %}

<span class="page_number ">
Expand All @@ -41,7 +41,7 @@ <h2>{{ post.title }}</h2>
{% if paginator.next_page %}
<a class="btn btn-outline-primary" href="{{ paginator.next_page_path }}" >Newer</a>
{% else %}
<span class="btn btn-outline-secondary disabled">Newer</span>
<span class="btn btn-outline-secondary disabled">Older</span>
{% endif %}
</nav>

Expand Down

0 comments on commit 8c9c298

Please sign in to comment.