You are here

search-api-page-result.html.twig in Search API Pages 8

Default theme implementation for displaying a single search result coming from Search API page.

File

templates/search-api-page-result.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for displaying a single search result coming from Search API page.
  5. *
  6. * @ingroup themeable
  7. */
  8. #}
  9. {{ title_prefix }}
  10. <h3{{ title_attributes }}>
  11. <a href="{{ url }}">{{ title }}</a>
  12. </h3>
  13. {{ title_suffix }}
  14. {% if snippet %}
  15. <p{{ content_attributes }}>{{ snippet }}</p>
  16. {% endif %}
  17. {% if info %}
  18. <p>{{ info }}</p>
  19. {% endif %}