Download the PHP package gorriecoe/silverstripe-meta without Composer
On this page you can find all versions of the php package gorriecoe/silverstripe-meta. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gorriecoe/silverstripe-meta
More information about gorriecoe/silverstripe-meta
Files in gorriecoe/silverstripe-meta
Package silverstripe-meta
Short Description Improves silverstripes html meta data options.
License BSD-3-Clause
Homepage http://github.com/gorriecoe/silverstripe-meta
Informations about the package silverstripe-meta
Silverstripe meta
Improves silverstripes html meta data options.
Installation
Composer is the recommended way of installing SilverStripe modules.
Requirements
- silverstripe/cms ^4.0
Maintainers
Usage
Add the $MetaTags
in the head
as you would normally do in SilverStripe. The only difference is that $MetaTags
can no longer be passed false to prevent the title tag
Modify title tag
If you want to modify title tag, include $meta_data
variable with MetaTitle
key in your page.
In the example above MetaTitle will use data from MetaTitle if found, if not it will fallback to Title and finally fall back to the SiteConfig MetaTitle.
Other modifiable tags include: MetaTitle
, MetaDescription
, MetaRobots
, TwitterTitle
, TwitterDescription
, TwitterImage
, TwitterSite
, TwitterCreator
, OGTitle
, OGImage
, OGImageType
, OGUrl
, OGDescription
, OGSiteName
, FBAuthor
, FBPublisher
, GplusAuthor
and GplusPublisher