From e5475b9c49e4effaa510c2c90dca680155fc4fa9 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 9 Jan 2026 21:41:27 +0100 Subject: [PATCH] enable content search in flexsearch plugin this was enabled in the past and then accidentally disabled Fixes: 1f1975fa15bf15dd1840e236e55388971066f288 --- v8/flexsearch_plugin/flexsearch_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v8/flexsearch_plugin/flexsearch_plugin.py b/v8/flexsearch_plugin/flexsearch_plugin.py index 6ccd6a9b..443e1d42 100644 --- a/v8/flexsearch_plugin/flexsearch_plugin.py +++ b/v8/flexsearch_plugin/flexsearch_plugin.py @@ -61,7 +61,7 @@ def build_index(): if item.is_post and index_posts: index[item.meta('slug')] = { 'title': item.title(), - # 'content': item.text(strip_html=True), + 'content': item.text(strip_html=True), 'tags': item.meta('tags'), 'url': item.permalink(), 'type': 'post' @@ -70,7 +70,7 @@ def build_index(): elif not item.is_post and index_pages: index[item.meta('slug')] = { 'title': item.title(), - # 'content': item.text(strip_html=True), + 'content': item.text(strip_html=True), 'tags': item.meta('tags'), 'url': item.permalink(), 'type': 'page'