Skip to content

Commit

Permalink
Removing "Item" from the prev/next link text
Browse files Browse the repository at this point in the history
  • Loading branch information
ibeatty committed Nov 6, 2024
1 parent 6101aaa commit 891584d
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 @@ -53,7 +53,7 @@ <h2>{{ site.description | default: site.github.project_tagline }}</h2>
</a>
{% endif %}

<p class="repo-owner">ClickerCentral is maintained (minimally) by <a href="mailto:[email protected]">Ian Beatty</a>, a member of UMPERG back in the day.</p>
<p class="repo-owner"><em>ClickerCentral</em> is maintained (minimally) by <a href="mailto:[email protected]">Ian Beatty</a>, a member of UMPERG back in the day.</p>

<p>This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</p>
</aside>
Expand Down
4 changes: 2 additions & 2 deletions _layouts/item.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

<nav class="pagination">
{% if page.previous %}
<a href="{{ page.previous.url | absolute_url }}" class="prev-link">← {{ page.previous.name }}</a>
<a href="{{ page.previous.url | absolute_url }}" class="prev-link">← {{ page.previous.name | split: ' ' | slice: 1, 2 | join: ' ' }}</a>
{% endif %}
{% if page.next %}
<a href="{{ page.next.url | absolute_url }}" class="next-link">{{ page.next.name }} →</a>
<a href="{{ page.next.url | absolute_url }}" class="next-link">{{ page.next.name | split: ' ' | slice: 1, 2 | join: ' ' }} →</a>
{% endif %}
</nav>

Expand Down

0 comments on commit 891584d

Please sign in to comment.