feat: review the bottom navigation
This commit is contained in:
@@ -28,8 +28,18 @@ templateClass: tmpl-post
|
||||
{%- if nextArticle or previousArticle %}
|
||||
<nav class="post-nav">
|
||||
<ul>
|
||||
{%- if previousArticle %}<li class="previous">Précédent : <a href="{{ previousArticle.url }}">{{ previousArticle.data.title }}</a></li>{% endif %}
|
||||
{%- if nextArticle %}<li class="next">Suivant : <a href="{{ nextArticle.url }}">{{ nextArticle.data.title }}</a></li>{% endif %}
|
||||
{%- if previousArticle %}<li class="previous">
|
||||
<a href="{{ previousArticle.url }}" title="Article précédent">
|
||||
<span class="icon" aria-hidden="true">«</span>
|
||||
<span>{{ previousArticle.data.title }}</span>
|
||||
</a>
|
||||
</li>{% endif %}
|
||||
{%- if nextArticle %}<li class="next">
|
||||
<a href="{{ nextArticle.url }}" title="Article suivant">
|
||||
<span>{{ nextArticle.data.title }}</span>
|
||||
<span class="icon" aria-hidden="true">»</span>
|
||||
</a>
|
||||
</li>{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
{%- endif %}
|
||||
|
Reference in New Issue
Block a user