Skip to content

Re-adds 'MetaTitle' and 'MetaKeywords' fields that were removed in SilverStripe 3.1.

Notifications You must be signed in to change notification settings

derralf/silverstripe-metaextension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

#Silverstripe MetaExtension (Title & Keywords)#

Re-adds 'MetaTitle' and 'MetaKeywords' fields that were removed in SilverStripe 3.1.

###Download:###

Simply clone or download this repository, copy it into your SilverStripe installation folder, then run dev/build.

###Usage:###

In Page Head e.g.:

<title><% if $MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> &raquo; $SiteConfig.Title</title>

and

<% if $MetaKeywords %><meta name="keywords" content="$MetaKeywords"/><% end_if %>

About

Re-adds 'MetaTitle' and 'MetaKeywords' fields that were removed in SilverStripe 3.1.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published