fix: invert the buttons on the button navigation of an article #2
|
@ -28,15 +28,15 @@ templateClass: tmpl-post
|
|||
{%- if nextArticle or previousArticle %}
|
||||
<nav class="post-nav">
|
||||
<ul>
|
||||
{%- 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 class="icon" aria-hidden="true">«</span>
|
||||
<span>{{ nextArticle.data.title }}</span>
|
||||
</a>
|
||||
</li>{% endif %}
|
||||
{%- if previousArticle %}<li class="previous">
|
||||
<a href="{{ previousArticle.url }}" title="Article précédent">
|
||||
<span>{{ previousArticle.data.title }}</span>
|
||||
<span class="icon" aria-hidden="true">»</span>
|
||||
</a>
|
||||
</li>{% endif %}
|
||||
|
|
|
@ -340,12 +340,12 @@ h1 + .post-metadata {
|
|||
}
|
||||
.previous {
|
||||
.icon {
|
||||
margin-right: 2rem;
|
||||
margin-left: 2rem;
|
||||
}
|
||||
}
|
||||
.next {
|
||||
.icon {
|
||||
margin-left: 2rem;
|
||||
margin-right: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue