diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/partials/navigation.html.twig | 51 |
1 files changed, 18 insertions, 33 deletions
diff --git a/templates/partials/navigation.html.twig b/templates/partials/navigation.html.twig index b47d228..f1d6f18 100644 --- a/templates/partials/navigation.html.twig +++ b/templates/partials/navigation.html.twig @@ -1,40 +1,25 @@ -{# <div class=links> - {% if page.parent.url != "/" %} - <a class="anim3" href="{{ page.parent.url }}"> +<div class=links> + {# {% if $prevPage = page.prevSibling %} #} + <a class="anim2" href="{{ page.parent.url }}"> <div class="roundedButton"> <span class="icon">arrow_back</span> - <span>Back</span> + <div class="stack"> + <span>Previous</span> + <span>Sample last article name</span> + </div> </div> </a> - {% endif %} - <a class="anim4" href="/"> + {# {% endif %} #} + + {# {% if $nextPage = page.nextSibling %} #} + <a class="anim3" id="nextback" href="{{ page.parent.url }}"> <div class="roundedButton"> - <span class="icon">home</span> - <span>Home</span> + <span class="icon">arrow_forward</span> + <div class="stack"> + <span>Next</span> + <span>Sample next article name</span> + </div> </div> </a> -</div> #} - -{# {% if $prevPage = page.prevSibling %} #} -<a class="anim2" href="{{ page.parent.url }}"> - <div class="roundedButton"> - <span class="icon">arrow_back</span> - <div class="stack"> - <span>Previous</span> - <span>Sample last article name</span> - </div> - </div> -</a> -{# {% endif %} #} - -{# {% if $nextPage = page.nextSibling %} #} -<a class="anim3" href="{{ page.parent.url }}"> - <div class="roundedButton"> - <span class="icon">arrow_forward</span> - <div class="stack"> - <span>Next</span> - <span>Sample next article name</span> - </div> - </div> -</a> -{# {% endif %} #} + {# {% endif %} #} +</div> |