Skip to content

Commit

Permalink
Fix pagination links
Browse files Browse the repository at this point in the history
  • Loading branch information
waferbaby committed Feb 8, 2024
1 parent 1566354 commit 2c71d15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/posts.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ title: Interviews
<% if @pagination.page_count > 1 %>
<nav id="paginator">
<p>Page <strong><%= @pagination.current_page %></strong> of <strong><%= @pagination.page_count %></strong></p>
<span id="previous"><% if @pagination.previous_page %><a href="<%= @pagination.urls[:previous_page] %>" title="Page <%= @pagination.previous_page %> of the interviews."><% end %>Previous<% if @pagination.previous_page %></a><% end %></span>
<span id="next"><% if @pagination.next_page %><a href="<%= @pagination.urls[:next_page] %>" title="Page <%= @pagination.next_page %> of the interviews."><% end %>Next<% if @pagination.next_page %></a><% end %></span>
<span id="previous"><% if @pagination.previous_page %><a href="<%= @pagination.urls.previous_page %>" title="Page <%= @pagination.previous_page %> of the interviews."><% end %>Previous<% if @pagination.previous_page %></a><% end %></span>
<span id="next"><% if @pagination.next_page %><a href="<%= @pagination.urls.next_page %>" title="Page <%= @pagination.next_page %> of the interviews."><% end %>Next<% if @pagination.next_page %></a><% end %></span>
</nav>
<% end %>

0 comments on commit 2c71d15

Please sign in to comment.