summaryrefslogtreecommitdiff
path: root/templates/partials/navigation.html.twig
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2024-05-04 16:24:37 -0400
committersowgro <tpoke.ferrari@gmail.com>2024-05-04 16:24:37 -0400
commitc4d0df845e63abc7391759541cac22e9057c83b6 (patch)
treec62227955e247204d3e20dc317d41f27c2db42fe /templates/partials/navigation.html.twig
parent268685c6abdd489170afa29b3293a62e70f1b595 (diff)
downloadgrav-sowtheme-c4d0df845e63abc7391759541cac22e9057c83b6.tar.gz
grav-sowtheme-c4d0df845e63abc7391759541cac22e9057c83b6.tar.bz2
grav-sowtheme-c4d0df845e63abc7391759541cac22e9057c83b6.zip
new layout 8
Diffstat (limited to 'templates/partials/navigation.html.twig')
-rw-r--r--templates/partials/navigation.html.twig51
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>