include organization data on homepage
This commit is contained in:
parent
d69b540fcc
commit
388b596f3f
1 changed files with 14 additions and 11 deletions
|
@ -45,7 +45,8 @@ def json_ld_structured_data(context):
|
||||||
|
|
||||||
# Handle different page types
|
# Handle different page types
|
||||||
if view_name == "homepage":
|
if view_name == "homepage":
|
||||||
data = {
|
data = [
|
||||||
|
{
|
||||||
"@context": "https://schema.org",
|
"@context": "https://schema.org",
|
||||||
"@type": "WebSite",
|
"@type": "WebSite",
|
||||||
"name": "Servala - Open Cloud Native Service Hub",
|
"name": "Servala - Open Cloud Native Service Hub",
|
||||||
|
@ -56,7 +57,9 @@ def json_ld_structured_data(context):
|
||||||
"target": f"{base_url}/service/?search={{search_term_string}}",
|
"target": f"{base_url}/service/?search={{search_term_string}}",
|
||||||
"query-input": "required name=search_term_string",
|
"query-input": "required name=search_term_string",
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
|
organization_data,
|
||||||
|
]
|
||||||
|
|
||||||
elif view_name == "service_list":
|
elif view_name == "service_list":
|
||||||
data = {
|
data = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue