summaryrefslogtreecommitdiff
path: root/templates/partials/navigation.html.twig
blob: be351e0ac55c0c34406a5696f4cb36c58c629832 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div class="links" id="nextback">
    {# {% if $prevPage = page.prevSibling %} #}
    <a class="anim2" id="next" href="{{ page.parent.url }}">
        <div class="roundedButton">
            <span class="icon">arrow_back</span>
            <div class="stack">
                <span>Previous</span>
                <span>Sample last article name that is super long and will require me to clip it</span>
            </div>
        </div>
    </a>
    {# {% endif %} #}

    {# {% if $nextPage = page.nextSibling %} #}
    <a class="anim3" id="back" 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 %} #}
</div>