summaryrefslogtreecommitdiff
path: root/templates/partials/navigation.html.twig
blob: f1d6f18bdfe9dc9fc9c70e6ebe76cd6c84168e8c (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>
    {# {% 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" id="nextback" 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>