Skip to content

Commit

Permalink
Center-align footer
Browse files Browse the repository at this point in the history
  • Loading branch information
jhersh committed Dec 4, 2024
1 parent d1f4932 commit a867909
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/post_footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<hr />

<p>
<div class="pagination">
{% assign hasPrevious = page.previous.url != null %}
{% assign hasNext = page.next.url != null %}

Expand All @@ -15,4 +15,4 @@
{% if hasNext %}
<a class="page-link" href="{{ page.next.url }}" title="{{ page.next.title }}">&rarr; Next: {{ page.next.title }}</a>
{% endif %}
</p>
</div>
4 changes: 4 additions & 0 deletions _includes/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ p.summary {
font-size: 90%;
}

div.pagination {
text-align: center;
}

.post a:visited {
color: #FFF;
}
Expand Down

0 comments on commit a867909

Please sign in to comment.