Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions

Removing meta tag 'generator' - possible?


Reply

2 Posts   1490 Views

Avatar
Ryan M.

4 February 2011 at 2:02pm Community Member, 309 Posts

What the subject says. I'm wondering if it's possible to suppress the addition of that meta tag.

<meta name="generator" content="SilverStripe - http://silverstripe.org" />

Avatar
Willr

4 February 2011 at 2:41pm Forum Moderator, 5511 Posts

Copy the function from SiteTree.php MetaTags to your Page.php. Edit function as you require.