mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 16:48:10 -05:00
21 lines
692 B
HTML
21 lines
692 B
HTML
{% if page.layout == 'post' %}
|
|
{% comment %}Thanks to https://www.bytedude.com/jekyll-previous-and-next-posts/{% endcomment %}
|
|
<div class="container">
|
|
<hr>
|
|
<div class="post-nav">
|
|
<div>
|
|
{% if page.previous.url %}
|
|
<a href="{{page.previous.url}}">« {{page.previous.title}}</a>
|
|
{% endif %}
|
|
</div>
|
|
<div class="post-nav-next">
|
|
{% if page.next.url %}
|
|
<a href="{{page.next.url}}">{{page.next.title}} »</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
|
{% endif %} |