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

This commit is contained in:
Richie committed 2026-07-24 11:38:50 -04:00
1 parent 11b5d5db3c
commit 34e7823517
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>