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) }}