Skip to content

List Searchquery Title

Availability:

  • Search results list


Use list_searchquery_title module to insert a title of the search results list.

Configuration parameters

none

Module source code

{% from "@macros/section_title.twig" import section_title %}
{% set url = ObjectApi.getUrl() %}

{% set title = translate('Search results') ~ ' "' ~ url.params.searchquery ~ '"' %}

{{ section_title(title, { cssClasses: "searchquery-section-title mb-sm-0" }) }}

Macros reference

Used Object Api methods

Module configuration schema

[]