From f490626b8a2ff360c4a914615484ea6e5bf8cdee Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Sat, 19 Oct 2024 12:38:45 +0200 Subject: Add modern theme --- src/application/templates/modern/search.twig | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 src/application/templates/modern/search.twig (limited to 'src/application/templates/modern/search.twig') diff --git a/src/application/templates/modern/search.twig b/src/application/templates/modern/search.twig new file mode 100644 index 0000000..3546f41 --- /dev/null +++ b/src/application/templates/modern/search.twig @@ -0,0 +1,69 @@ +{% 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")), + }) }}
+