Skip to content

Commit

Permalink
fix(quotes): query search value
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyurec committed Aug 15, 2022
1 parent ab44338 commit beeb587
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/banners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -797,8 +797,8 @@ const getRandomQuote = async () => {
:where
[?id :block/content ?content]
(or
[(clojure.string/starts-with? ?content "#quote ")]
[(clojure.string/ends-with? ?content " #quote")]
[(clojure.string/starts-with? ?content "${widgetsConfig.quote.tag} ")]
[(clojure.string/ends-with? ?content " ${widgetsConfig.quote.tag}")]
)
[?id :block/page ?page-id]
[?page-id :block/original-name ?page-title]
Expand Down

0 comments on commit beeb587

Please sign in to comment.