{{-- Site-wide structured data (schema.org JSON-LD): GOOI&meer as a NewsMediaOrganization and the WebSite with its search. Included on every page; news articles refer to the organization by its @id. Values: config/seo.php --}} @php $org = config('seo.organization'); $home = rtrim(url('/'), '/') . '/'; $organization = [ '@type' => 'NewsMediaOrganization', '@id' => $home . '#organization', 'name' => $org['name'], 'alternateName' => $org['alternate_names'], 'url' => $home, 'logo' => [ '@type' => 'ImageObject', 'url' => url($org['logo']), 'width' => $org['logo_width'], 'height' => $org['logo_height'], ], 'address' => [ '@type' => 'PostalAddress', 'streetAddress' => $org['address']['street'], 'postalCode' => $org['address']['postal_code'], 'addressLocality' => $org['address']['locality'], 'addressCountry' => $org['address']['country'], ], 'telephone' => $org['telephone'], 'email' => $org['email'], 'contactPoint' => [ '@type' => 'ContactPoint', 'contactType' => 'redactie', 'telephone' => $org['telephone'], 'email' => $org['email'], 'availableLanguage' => 'nl', ], 'identifier' => [ '@type' => 'PropertyValue', 'propertyID' => 'KvK', 'value' => $org['kvk'], ], 'sameAs' => $org['same_as'], 'masthead' => url($org['masthead']), 'actionableFeedbackPolicy' => url($org['feedback_policy']), ]; $website = [ '@type' => 'WebSite', '@id' => $home . '#website', 'url' => $home, 'name' => $org['name'], 'alternateName' => $org['alternate_names'], 'inLanguage' => 'nl-NL', 'publisher' => ['@id' => $home . '#organization'], 'potentialAction' => [ '@type' => 'SearchAction', 'target' => [ '@type' => 'EntryPoint', 'urlTemplate' => url('/nieuws/zoeken') . '/{search_term_string}', ], 'query-input' => 'required name=search_term_string', ], ]; $jsonld = ['@context' => 'https://schema.org', '@graph' => [$organization, $website]]; @endphp