From d6d1eddfbdbe57737f5084dae2ae044182d00f8f Mon Sep 17 00:00:00 2001 From: swag Date: Tue, 4 Jan 2022 20:24:24 -0500 Subject: [PATCH] Don't print nav bar when $last_page is undef --- templates/index.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html.ep b/templates/index.html.ep index 390c6ce..1eb29ad 100644 --- a/templates/index.html.ep +++ b/templates/index.html.ep @@ -19,7 +19,7 @@ <% } =%> -<% unless ($last_page == 1) { =%> +<% if ($last_page && $last_page != 1) { =%>