move communities to bottom of all search

This commit is contained in:
Ryan Stafford 2024-05-10 13:10:27 -04:00
parent edd773c2fc
commit f5adb0e0fe

View file

@ -56,10 +56,6 @@
</div>
{{ 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) }}
<div class="error">there doesn't seem to be anything here</div>
{{ end }}