Skip to content

Commit

Permalink
Display pro license flag on desc, image_url and image_format (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
binarygit authored Jul 25, 2024
1 parent 3ba94c1 commit 9826799
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/3.0/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ end
:::

:::option `description`

<licensereq license="pro"></licensereq>
<LicenseReq license="pro" />

You might want to show more than just the title in the search result. Avo provides the `card -> description` option to add some more information.

Expand All @@ -151,7 +150,7 @@ end

:::option `image_url`

<licensereq license="pro"></licensereq>
<LicenseReq license="pro" />

You may improve the results listing by adding an image to each search result. You do that by using the `card -> image_url` attribute that is an url to a image.

Expand All @@ -172,7 +171,7 @@ end

:::option `image_format`

<licensereq license="pro"></licensereq>
<LicenseReq license="pro" />

The image you add to a search result can have a different format based on what you set on the `card -> image_format` attribute. You may choose between three options: `:square`, `:rounded` or `:circle`.

Expand Down

0 comments on commit 9826799

Please sign in to comment.