diff --git a/hub/services/templatetags/json_ld_tags.py b/hub/services/templatetags/json_ld_tags.py index 689dd5a..fc0e47e 100644 --- a/hub/services/templatetags/json_ld_tags.py +++ b/hub/services/templatetags/json_ld_tags.py @@ -45,18 +45,21 @@ def json_ld_structured_data(context): # Handle different page types if view_name == "homepage": - data = { - "@context": "https://schema.org", - "@type": "WebSite", - "name": "Servala - Open Cloud Native Service Hub", - "url": base_url, - "description": "Servala connects businesses, developers, and cloud service providers on one unique hub with secure, scalable, and easy-to-use cloud-native services.", - "potentialAction": { - "@type": "SearchAction", - "target": f"{base_url}/service/?search={{search_term_string}}", - "query-input": "required name=search_term_string", + data = [ + { + "@context": "https://schema.org", + "@type": "WebSite", + "name": "Servala - Open Cloud Native Service Hub", + "url": base_url, + "description": "Servala connects businesses, developers, and cloud service providers on one unique hub with secure, scalable, and easy-to-use cloud-native services.", + "potentialAction": { + "@type": "SearchAction", + "target": f"{base_url}/service/?search={{search_term_string}}", + "query-input": "required name=search_term_string", + }, }, - } + organization_data, + ] elif view_name == "service_list": data = {