diff --git a/templates/main.html b/templates/main.html
index e2d6390..5cf680d 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -27,12 +27,13 @@
{{ template "nsfw.html" }}
{{ else }}
- {{ if or (contains .Sort "Top") (and (not .PostID) (not .User) (not .Community) (not .Activities) (eq .Op ""))}}
+ {{ if or (.Query) (.SearchType) (and (not .PostID) (not .User) (not .Activities) (eq .Op ""))}}
{{ template "menu.html" . }}
{{ end}}
{{ if or (ne .Query "") .Communities }}