diff --git a/brutaldon/templates/main/search_results.html b/brutaldon/templates/main/search_results.html index a249a5e..b63b5c2 100644 --- a/brutaldon/templates/main/search_results.html +++ b/brutaldon/templates/main/search_results.html @@ -4,52 +4,69 @@ {% load sanitizer %} {% block title %} - Brutaldon - search results +Brutaldon - search results {% endblock %} {% comment %} mastodon.search("") -# Returns the following dictionary -{ -'accounts': # List of account dicts resulting from the query -'hashtags': # List of hashtag dicts resulting from the query -'statuses': # List of toot dicts resulting from the query -} + # Returns the following dictionary + { + 'accounts': # List of account dicts resulting from the query + 'hashtags': # List of hashtag dicts resulting from the query + 'statuses': # List of toot dicts resulting from the query + } -{% endcomment %} + {% endcomment %} + {% block content %} + +
+
+
+ +
+ + + + +
+ +
+ +
+
+
-{% block content %}

Search results

Users

{% for user in results.accounts %} - +
+ {% endfor %} @@ -58,13 +75,13 @@ mastodon.search("")

Tags

Toots

{% for toot in results.statuses %} - {% include "main/toot_partial.html" with toot=toot reblog=False %} + {% include "main/toot_partial.html" with toot=toot reblog=False %} {% endfor %} -{% endblock %} + {% endblock %}