{% load static %}
{% load i18n %}
{% load l10n %}
{% load humanize %}
{% load mastodon %}
{% load duration %}
{% load thumb %}
{% get_current_language as LANGUAGE_CODE %}
<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE }}" class="classic-page nav-page-search">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ site_name }} - {{ request.GET.q }} - {% trans 'Search Results' %}</title>
    {% include "common_libs.html" %}
  </head>
  <body>
    {% include '_header.html' %}
    <main>
      <div class="grid__main">
        {% include 'search_header.html' %}
        <div class="item-card-list">
          {% for item in items %}
            {% include '_list_item.html' %}
          {% empty %}
            <p class="empty">{% trans "No items matching your search query." %}</p>
          {% endfor %}
        </div>
      </div>
      {% include "_pagination.html" %}
      {% block sidebar %}
        {% include '_sidebar_search_journal.html' %}
      {% endblock %}
    </main>
    {% include '_footer.html' %}
  </body>
</html>
