From f5adb0e0fe1a11b8172b8c946b811c0e061de78e Mon Sep 17 00:00:00 2001 From: Ryan Stafford Date: Fri, 10 May 2024 13:10:27 -0400 Subject: [PATCH] move communities to bottom of all search --- templates/main.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/main.html b/templates/main.html index 044831a..9980490 100644 --- a/templates/main.html +++ b/templates/main.html @@ -56,10 +56,6 @@ {{ end }} - {{ range .Communities }} - {{ template "community.html" . }} - {{ end }} - {{ if eq .Op "create_community" "edit_community" }} {{ template "create_community.html" . }} {{ end }} @@ -123,6 +119,10 @@ {{ template "activities.html" . }} {{ end }} + {{ range .Communities }} + {{ template "community.html" . }} + {{ end }} + {{ if or (and (not .Op) (not .Activities) (not .Comments) (not .Posts) (not .Communities)) (and (not .Comments) .PostID) (and (not .Activities) (not .Query) .User) }}
there doesn't seem to be anything here
{{ end }}