From 21c35aa6b4247ea4353aefbf9d01aeaf04b1d01b Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Sun, 5 Jan 2020 17:20:53 -0700 Subject: [PATCH] Don't show parent dir in search results --- app/resources/views/index.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/resources/views/index.twig b/app/resources/views/index.twig index 00d1254..d659a8c 100644 --- a/app/resources/views/index.twig +++ b/app/resources/views/index.twig @@ -19,7 +19,7 @@ - {% if not is_root %} + {% if not search and not is_root %} {{ include('components/file.twig', { parentDir: true }, with_context = false) }}