Update language attribute in HTML and correct query-input key in JSON-LD generation for improved SEO accuracy.
This commit is contained in:
@@ -263,7 +263,7 @@ const generateHomepageJsonLd = (baseUrl, config, categories = []) => {
|
|||||||
potentialAction: {
|
potentialAction: {
|
||||||
"@type": "SearchAction",
|
"@type": "SearchAction",
|
||||||
target: `${canonicalUrl}/search?q={search_term_string}`,
|
target: `${canonicalUrl}/search?q={search_term_string}`,
|
||||||
"query-input": "required name=search_term_string",
|
query: "required name=search_term_string"
|
||||||
},
|
},
|
||||||
mainEntity: {
|
mainEntity: {
|
||||||
"@type": "WebPage",
|
"@type": "WebPage",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|||||||
Reference in New Issue
Block a user