innoweb / silverstripe-social-metadata
为所有页面添加社交元数据,如OpenGraph、X(Twitter)和JSON-LD。
8.4.1
2024-03-06 22:53 UTC
Requires
- fromholdio/silverstripe-externalurlfield: ^1.1
- innoweb/silverstripe-googlemapfield: ^2.3
- innoweb/silverstripe-international-phone-number-field: ^5
- jonom/silverstripe-text-target-length: ^2.0.3
- sheadawson/silverstripe-dependentdropdownfield: ^3
- silverstripe/cms: ^5
- symbiote/silverstripe-multivaluefield: ^6
- unclecheese/display-logic: ^3
Suggests
- innoweb/silverstripe-social-profiles: Adds social profile links to the site.
- innoweb/silverstripe-social-share: Adds sharing links and buttons for Facebook, LinkedIn, X (Twitter) and Pinterest as well as AddThis to the site.
- dev-master
- 8.4.1
- 8.4.0
- 8.3.0
- 8.2.2
- 8.2.1
- 8.2.0
- 8.1.0
- 8.0.1
- 8.0.0
- 7.x-dev
- 7.3.1
- 7.3.0
- 7.2.1
- 7.2.0
- 7.1.3
- 7.1.2
- 7.1.1
- 7.1.0
- 7.0.1
- 7.0.0
- 6.1.0
- 6.0.2
- 6.0.1
- 6.0.0
- 5.3.0
- 5.2.0
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.0.x-dev
- 4.0.2
- 4.0.1
- 4.0.0
- 3.1.1
- 3.1.0
- 3.0.x-dev
- 3.0.2
- 3.0.1
- 3.0.0
- 2.1.0
- 2.0.1
- 2.0.0
- 1.4.1
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2024-09-11 01:53:11 UTC
README
概览
为所有页面添加社交元数据,如OpenGraph、X(Twitter)和JSON-LD。
该模块为网站添加以下功能:
- 为所有页面添加元标题字段以覆盖默认的“页面标题 - 网站标题”结构
- 将规范URL添加到每个页面的元数据中,可以针对每个页面进行覆盖,例如重发自外部来源的博客文章
- 为网站的schema.org JSON-LD数据添加类型、位置、营业时间、地址、位置、标志和图像
- 支持单站以及多站和配置多站设置,并将配置选项添加到站点而不是SiteConfig
- 支持博客模块,并处理规范URL以及标签和分类的自定义元标题和描述。它还为博客文章添加JSON-LD
- 页面可以扩展功能并添加自己的数据到JSON-LD等
需求
- Silverstripe CMS 5
注意:此版本与Silverstripe 5兼容。对于Silverstripe 4,请参阅7.x版本线。对于Silverstripe 3,请参阅3.x版本线。
安装
使用composer安装模块
composer require innoweb/silverstripe-social-metadata dev-master
然后运行dev/build。
配置
该模块在CMS的SiteConfig中添加了一个新标签页,其中可以配置所有元数据。
许可协议
BSD 3-Clause License,请参阅许可协议