Fix Schema.org SearchAction metadata
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
786c5e7f1d
commit
09c131c33b
@ -22,7 +22,7 @@ defmodule Mobilizon.Service.Metadata.Instance do
|
|||||||
"url": "#{Endpoint.url()}",
|
"url": "#{Endpoint.url()}",
|
||||||
"potentialAction": {
|
"potentialAction": {
|
||||||
"@type": "SearchAction",
|
"@type": "SearchAction",
|
||||||
"target": "#{Endpoint.url()}/search/{search_term}",
|
"target": "#{Endpoint.url()}/search?term={search_term}",
|
||||||
"query-input": "required name=search_term"
|
"query-input": "required name=search_term"
|
||||||
}
|
}
|
||||||
}</script>
|
}</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user