{% extends "base.html" %} {% load humanize %} {% load taglinks %} {% load sanitizer %} {% block title %} Brutaldon ({{ own_acct.username }}) - 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 } {% endcomment %} {% block content %} {{ form.instance.label }} Search results Users {% for user in results.accounts %} {{ user.display_name }} @{{ user.acct }} {{ user.note | relink_toot | strip_html | safe }} {% endfor %} Tags {% for tag in results.hashtags %} #{{ tag }} {% endfor %} Toots {% for toot in results.statuses %} {% include "main/toot_partial.html" with toot=toot reblog=False %} {% endfor %} {% endblock %}
{{ user.display_name }} @{{ user.acct }}