Skip to content

Commit

Permalink
Merge pull request #246 from kobotoolbox/245-hide-feedback-form-on-se…
Browse files Browse the repository at this point in the history
…arch-results

Hide feedback form when `pagename` is "search"
  • Loading branch information
magicznyleszek authored Mar 31, 2022
2 parents 3f17d02 + 507d030 commit ed9d1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="clearer"></div>
</section>

{% if pagename != "index" and pagename != "404" %}
{% if pagename not in ["index", "404", "search"] %}
<section class="page__feedback">
<h1>Was this article useful?</h1>

Expand Down

0 comments on commit ed9d1f8

Please sign in to comment.