Don't show parent dir in search results

This commit is contained in:
Chris Kankiewicz
2020-01-05 17:20:53 -07:00
parent 415bc04f8d
commit 21c35aa6b4

View File

@@ -19,7 +19,7 @@
</div>
</div>
{% if not is_root %}
{% if not search and not is_root %}
{{ include('components/file.twig', {
parentDir: true
}, with_context = false) }}