highlight title in full page search

This commit is contained in:
Sam 2015-09-22 07:39:44 +10:00
parent b6155889d5
commit 6e384cd4c7

View file

@ -61,7 +61,7 @@
{{/if}}
{{avatar result imageSize="tiny"}}
<a class='search-link' href='{{unbound result.url}}'>
{{topic-status topic=result.topic disableActions=true}}<span class='topic-title'>{{{unbound result.topic.fancyTitle}}}</span>
{{topic-status topic=result.topic disableActions=true}}<span class='topic-title'>{{#highlight-text highlight=controller.q}}{{{unbound result.topic.fancyTitle}}}{{/highlight-text}}</span>
</a>
<div class='search-category'>
{{category-link result.topic.category}}