Skip to content

Commit

Permalink
Only surface prev and next buttons at bottom of page (#6330)
Browse files Browse the repository at this point in the history
An alternative to #6316 that
removes the previous and next page buttons at the top of each page,
keeping the buttons at the bottom.

This fits the primary purpose of the buttons and eases the transition to
future site designs, which will overhaul this anyway.

Closes #6316
Contribute to #5768
  • Loading branch information
parlough authored Jan 14, 2025
1 parent 9fbc9d6 commit 11187d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
{% endif -%}
<article>
<div class="content">
{% include 'navigation-sub.html' -%}
<div id="site-content-title">
{% if underscore_breaker_titles -%}
<h1>{{title | underscoreBreaker}}</h1>
Expand All @@ -34,7 +33,7 @@ <h1>{{title }}</h1>
{% include 'navigation-toc-top.html', tocContents:tocContents -%}
{% endif -%}
{{ content }}
{% include 'navigation-sub.html' -%}
{% render 'navigation-sub.html', prevpage:prevpage, nextpage:nextpage %}

{% include 'page-github-links.html' -%}
</div>
Expand Down

0 comments on commit 11187d5

Please sign in to comment.