summaryrefslogtreecommitdiff
path: root/templates/partials
diff options
context:
space:
mode:
Diffstat (limited to 'templates/partials')
-rw-r--r--templates/partials/navigation.html.twig24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/partials/navigation.html.twig b/templates/partials/navigation.html.twig
index a50e789..b47d228 100644
--- a/templates/partials/navigation.html.twig
+++ b/templates/partials/navigation.html.twig
@@ -14,3 +14,27 @@
</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 %} #}