{% set title = __("Search") %} {% set formId = "search" %} {% set formError = getAndClearFormError(formId) %} {% extends "base.twig" %} {% block content %}
{{ __("%result_count% result(s) in %search_duration% second(s)", { "result_count": ctx.posts|length, "search_duration": ctx.search_duration|number_format(2, __(".", context: "Number formatting"), __(",", context: "Number formatting")), }) }}
{% for post in ctx.posts|filter(p => not p.deleted) %} {% set hasAttachments = ctx.attachments[post.id]|length > 0 %} {% set postAuthor = ctx.users[post.authorId] %} {{ renderPostSummary(post.content) }}{# #}{{ __("No results for this search") }} |