DEV: No need to highlight search if PG headline generation is used.
This commit is contained in:
parent
12a00d6dc5
commit
1d2ba8fd52
|
@ -54,10 +54,14 @@
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{{#if result.blurb}}
|
{{#if result.blurb}}
|
||||||
{{#highlight-search highlight=term}}
|
{{#if siteSettings.use_pg_headlines_for_excerpt}}
|
||||||
|
{{html-safe result.blurb}}
|
||||||
|
{{else}}
|
||||||
|
{{#highlight-search highlight=highlightQuery}}
|
||||||
{{html-safe result.blurb}}
|
{{html-safe result.blurb}}
|
||||||
{{/highlight-search}}
|
{{/highlight-search}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -112,10 +112,14 @@
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{{#if result.blurb}}
|
{{#if result.blurb}}
|
||||||
|
{{#if siteSettings.use_pg_headlines_for_excerpt}}
|
||||||
|
{{html-safe result.blurb}}
|
||||||
|
{{else}}
|
||||||
{{#highlight-search highlight=highlightQuery}}
|
{{#highlight-search highlight=highlightQuery}}
|
||||||
{{html-safe result.blurb}}
|
{{html-safe result.blurb}}
|
||||||
{{/highlight-search}}
|
{{/highlight-search}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if showLikeCount}}
|
{{#if showLikeCount}}
|
||||||
|
|
Loading…
Reference in New Issue