You are here

search-api-stats-block.html.twig in Search API Stats 8

{#
/**
 * @ingroup themeable
 */
#}

<ul>
  {% for keyword, num in stats %}
    <li>
      <a href="{{ path }}?{{ param_name }}={{ keyword }}">
        {{ keyword }} ({{ num }})
      </a>
    </li>
  {% endfor %}
</ul>

File

modules/search_api_stats_block/templates/search-api-stats-block.html.twig
View source
  1. {#
  2. /**
  3. * @ingroup themeable
  4. */
  5. #}
  6. <ul>
  7. {% for keyword, num in stats %}
  8. <li>
  9. <a href="{{ path }}?{{ param_name }}={{ keyword }}">
  10. {{ keyword }} ({{ num }})
  11. </a>
  12. </li>
  13. {% endfor %}
  14. </ul>