From 9d3d534de350b858f11c4e56894136ef12ee01c3 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Mon, 3 Feb 2025 12:01:13 +0100 Subject: [PATCH] fix #18 --- site/snippets/nav__texts--all.php | 2 ++ site/snippets/nav__texts--collection.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/site/snippets/nav__texts--all.php b/site/snippets/nav__texts--all.php index 55b2de7..d31178d 100644 --- a/site/snippets/nav__texts--all.php +++ b/site/snippets/nav__texts--all.php @@ -9,11 +9,13 @@ title: 'title()->value()) ?>', author: '', category: 'category() ?>', + keywords: 'keywords() ?>', }" x-show=" slugify(title).includes(slugify(search)) || slugify(author).includes(slugify(search)) || slugify(category).includes(slugify(search)) + || slugify(keywords).include(slugify(search)) " > diff --git a/site/snippets/nav__texts--collection.php b/site/snippets/nav__texts--collection.php index acbbfe9..5e4ed78 100644 --- a/site/snippets/nav__texts--collection.php +++ b/site/snippets/nav__texts--collection.php @@ -48,11 +48,13 @@ title: 'title()->value()) ?>', author: '', category: 'category() ?>', + keywords: 'keywords() ?>', }" x-show=" slugify(title).includes(slugify(search)) || slugify(author).includes(slugify(search)) || slugify(category).includes(slugify(search)) + || slugify(keywords).includes(slugify(search)) " >