fix #18
This commit is contained in:
parent
40685d633b
commit
9d3d534de3
2 changed files with 4 additions and 0 deletions
|
|
@ -9,11 +9,13 @@
|
|||
title: '<?= str_replace("'", "\'", $article->title()->value()) ?>',
|
||||
author: '<?= $author ?>',
|
||||
category: '<?= $article->category() ?>',
|
||||
keywords: '<?= $article->keywords() ?>',
|
||||
}"
|
||||
x-show="
|
||||
slugify(title).includes(slugify(search))
|
||||
|| slugify(author).includes(slugify(search))
|
||||
|| slugify(category).includes(slugify(search))
|
||||
|| slugify(keywords).include(slugify(search))
|
||||
"
|
||||
>
|
||||
<a href="<?= $article->url() ?>" class="text__title no-underline">
|
||||
|
|
|
|||
|
|
@ -48,11 +48,13 @@
|
|||
title: '<?= str_replace("'", "\'", $article->title()->value()) ?>',
|
||||
author: '<?= $author ?>',
|
||||
category: '<?= $article->category() ?>',
|
||||
keywords: '<?= $article->keywords() ?>',
|
||||
}"
|
||||
x-show="
|
||||
slugify(title).includes(slugify(search))
|
||||
|| slugify(author).includes(slugify(search))
|
||||
|| slugify(category).includes(slugify(search))
|
||||
|| slugify(keywords).includes(slugify(search))
|
||||
"
|
||||
>
|
||||
<a href="<?= $article->url() ?>" class="text__title no-underline">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue