innoweb/silverstripe-social-metadata

Adds social metadata like OpenGraph, X (Twitter) and JSON-LD to all pages.

Maintainers

👁 xini

Package info

github.com/xini/silverstripe-social-metadata

Type:silverstripe-vendormodule

pkg:composer/innoweb/silverstripe-social-metadata

Statistics

Installs: 31 544

Dependents: 3

Suggesters: 4

Stars: 4

Open Issues: 0

9.0.3 2025-11-12 11:48 UTC

Requires (Dev)

None

Suggests

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 95be401a10b152ee618ea926ce3b8d290fff7c01

metadataJSON-LDsocialopengraphsilverstripecanonicalmetatitle


README

👁 Version
👁 License

Overview

Adds social metadata like OpenGraph, X (Twitter) and JSON-LD to all pages.

The module adds the following functionality to a site:

  • adds meta title fields for all pages to override the default 'page title - site title' title structure
  • adds canonical url to the meta data of each page which can be overridden for each page, for example for blog posts re-published from external sources
  • adds type, locations, opening hours, address, location, logo and image for schema.org JSON-LD data of the site
  • supports single site as well as multisites and configured-multisites setups and adds the config options to the Sites instead of SiteConfig
  • supports the blog module and handles the canonical url as well as custom meta titles and descriptions for tags and categories. It also adds JSON-LD for blog posts
  • pages can extend the functionality and add their own data to the JSON-LD etc

Requirements

  • Silverstripe CMS 6

Installation

Install the module using composer:

composer require innoweb/silverstripe-social-metadata dev-master

Then run dev/build.

Configuration

The module adds a new tab to the SiteConfig in the CMS where all the metadata can be configured.

License

BSD 3-Clause License, see License