Fix build.
This commit is contained in:
parent
379bfac36d
commit
4419d50780
|
@ -159,13 +159,13 @@ module ApplicationHelper
|
|||
|
||||
def render_sitelinks_search_tag
|
||||
json = {
|
||||
'@context': 'http://schema.org',
|
||||
'@type': 'WebSite',
|
||||
'@context' => 'http://schema.org',
|
||||
'@type' => 'WebSite',
|
||||
url: Discourse.base_url,
|
||||
potentialAction: {
|
||||
'@type': 'SearchAction',
|
||||
'@type' => 'SearchAction',
|
||||
target: "#{Discourse.base_url}/search?q={search_term_string}",
|
||||
'query-input': 'required name=search_term_string',
|
||||
'query-input' => 'required name=search_term_string',
|
||||
}
|
||||
}
|
||||
content_tag(:script, MultiJson.dump(json).html_safe, type: 'application/ld+json'.freeze)
|
||||
|
|
Loading…
Reference in New Issue