{% extends 'layout.html' %} {% load i18n %} {% load bookwyrm_tags %} {% load humanize %} {% block title %}{% trans "Directory" %}{% endblock %} {% block content %}

{% trans "Directory" %}

{% if not request.user.discoverable %}
{% url 'settings-profile' as path %}

{% trans "Make your profile discoverable to other BookWyrm users." %}

{% csrf_token %}

{% blocktrans %}You can opt-out at any time in your profile settings{% endblocktrans %}

{% endif %}
{% for user in users %}
{% include 'snippets/avatar.html' with user=user large=True %}
{{ user.display_name }} @{{ user|username }} {% include 'snippets/follow_button.html' with user=user %}
{% if user.summary %} {{ user.summary | to_markdown | safe | truncatechars_html:40 }} {% else %} {% endif %}
{% endfor %}
{% include 'snippets/pagination.html' with page=users path="/directory" %}
{% endblock %}