Skip to content

Commit

Permalink
feat: change result head when content tag search
Browse files Browse the repository at this point in the history
  • Loading branch information
pmariot committed Aug 25, 2022
1 parent b46b7c8 commit 007f9e6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/search_results.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,13 @@
<section id="main-content" class="search-results-column">
<h1 class="search-results-subheading">
{{#is current_filter.identifier 'unified'}}
{{t 'results' query=query count=results_count}}
{{#if content_tag_filters }}
{{#each (filter content_tag_filters on="selected" equals=true)}}
{{t 'results_content_tag' content_tag=name count=../results_count}}
{{/each}}
{{else}}
{{t 'results' query=query count=results_count}}
{{/if}}
{{else}}
{{#unless current_subfilter.identifier}}
{{t 'results' query=query count=results_count}}
Expand Down

0 comments on commit 007f9e6

Please sign in to comment.