Something went wrong. Try again.
Joseph Hale's Technical Blog
Something went wrong. Try again.
981 B · 34 lines
HTML
at content
1234567891011121314151617181920212223242526272829303132333435<!-- Navigation buttons at the bottom of the post. -->
<nav class="post-navigation d-flex justify-content-between" aria-label="Post Navigation"> {% assign previous = site.data.locales[include.lang].post.button.previous %} {% assign next = site.data.locales[include.lang].post.button.next %}
{% if page.previous.url %} <a href="{{ site.baseurl }}{{ page.previous.url }}" class="btn btn-outline-primary" aria-label="{{ previous }}" > <p>{{ page.previous.title }}</p> </a> {% else %} <div class="btn btn-outline-primary disabled" aria-label="{{ previous }}"> <p>-</p> </div> {% endif %}
{% if page.next.url %} <a href="{{ site.baseurl }}{{page.next.url}}" class="btn btn-outline-primary" aria-label="{{ next }}" > <p>{{ page.next.title }}</p> </a> {% else %} <div class="btn btn-outline-primary disabled" aria-label="{{ next }}"> <p>-</p> </div> {% endif %}</nav>