From fed977bf864eb721fe4bcc5c9c2936bf2164e537 Mon Sep 17 00:00:00 2001 From: sowgro Date: Sun, 5 May 2024 13:38:02 -0400 Subject: Fix next and previous arrows and other tweaks --- templates/directory.html.twig | 1 + templates/home.html.twig | 1 + templates/page.html.twig | 3 ++- templates/partials/header.html.twig | 6 +++--- templates/partials/navigation.html.twig | 5 ++--- 5 files changed, 9 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/directory.html.twig b/templates/directory.html.twig index cc02e7f..6903f08 100644 --- a/templates/directory.html.twig +++ b/templates/directory.html.twig @@ -7,6 +7,7 @@ {{ assets.css()|raw }} + {{ assets.js()|raw }} {{ header.title|e }} - {{site.title|e}} diff --git a/templates/home.html.twig b/templates/home.html.twig index 7e5be9f..5c7d0b7 100644 --- a/templates/home.html.twig +++ b/templates/home.html.twig @@ -7,6 +7,7 @@ {{ assets.css()|raw }} + {{ assets.js()|raw }} {{site.title|e}} diff --git a/templates/page.html.twig b/templates/page.html.twig index 1291aaf..41733c9 100644 --- a/templates/page.html.twig +++ b/templates/page.html.twig @@ -7,6 +7,7 @@ {{ assets.css()|raw }} + {{ assets.js()|raw }} {{ header.title|e }} - {{site.title|e}} @@ -21,4 +22,4 @@ {{ header.date|e }} - \ No newline at end of file + diff --git a/templates/partials/header.html.twig b/templates/partials/header.html.twig index 7da672d..19fa2ae 100644 --- a/templates/partials/header.html.twig +++ b/templates/partials/header.html.twig @@ -1,10 +1,10 @@
{% if page.url != "/" %} - +
- arrow_back - Back + arrow_upward + Up
{% else %} diff --git a/templates/partials/navigation.html.twig b/templates/partials/navigation.html.twig index 0c61b1d..46a0c45 100644 --- a/templates/partials/navigation.html.twig +++ b/templates/partials/navigation.html.twig @@ -1,7 +1,6 @@ - {% if page.parent.parent.url == "/" %}