Skip to content

Commit

Permalink
update layout
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguida committed Aug 29, 2024
1 parent 2519147 commit ea76adf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@

<!-- Previous link -->
{% if current_index and current_index > 0 %}
{% assign previous_page = pages_sorted[current_index - 1] %}
{% assign previous_index = current_index - 1 %}
{% assign previous_page = pages_sorted[previous_index] %}
<a href="{{ site.baseurl }}{{ previous_page.url }}" class="btn btn-primary">&laquo; Previous: {{ previous_page.title }}</a>
{% else %}
<a href="{{ site.baseurl }}" class="btn btn-primary">&laquo; Previous: Home</a>
Expand Down

0 comments on commit ea76adf

Please sign in to comment.