feat(ebook): add phrase matching display and update search result structure

This commit is contained in:
Richie committed 2026-07-09 11:04:59 -04:00
1 parent a19ace7959
commit e34ed6c597
3 files changed
+38 -3

No files matched your search

@@ -82,6 +82,14 @@
</div>
{% endif %}
</dl>
{% if result.matched_phrases %}
<p class="phrase-matches">
<span class="phrase-matches-label">boosted by</span>
{% for phrase in result.matched_phrases %}
<span class="phrase-match">{{ phrase }}</span>
{% endfor %}
</p>
{% endif %}
</li>
{% endfor %}
</ol>