X-Git-Url: https://git.cweiske.de/phinde.git/blobdiff_plain/226508cd8d3e8c147ad314a0de483e08be71c254..dda0b5ec6258b94fdd6cdec81eccba3f2b9513a0:/data/templates/search/sidebar.htm diff --git a/data/templates/search/sidebar.htm b/data/templates/search/sidebar.htm index 619301e..eaddaeb 100644 --- a/data/templates/search/sidebar.htm +++ b/data/templates/search/sidebar.htm @@ -1,48 +1,7 @@

Filter results by:

-{% if aggregations.tags.buckets|length > 1 %} -Tag - -{% endif %} - -{% if aggregations.domain.buckets|length > 1 %} - -Domain - -{% endif %} - -{% if aggregations.language.buckets|length > 1 %} -Language - -{% endif %} - -{% if aggregations.type.buckets|length > 1 %} -Type - -{% endif %} - +{% include 'search/sidebar-filter.htm' with {'type': 'tags', 'title': 'Tag'} %} +{% include 'search/sidebar-filter.htm' with {'type': 'domain', 'title': 'Domain'} %} +{% include 'search/sidebar-filter.htm' with {'type': 'language', 'title': 'Language'} %} +{% include 'search/sidebar-filter.htm' with {'type': 'type', 'title': 'Type'} %}