Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there a placeholder that I can use in my custom page layout, that will allow me to load a <meta> viewport tag in the head of my master template?

I'm using SharePoint 2010

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

If your custom master page has the same ContentPlaceHolders as the default one then you can use PlaceHolderAdditionalPageHead this is where a lot of the standard SharePoint pages add meta tags

share|improve this answer
    
Thank you I just figured it out before you posted the answer, and stack exchange does not allow new users to answer their own questions. But thanks! –  blachawk Oct 12 '12 at 20:16
add comment

I am working on a very similar issue to add meta tags to the header of our pages dynamically. If your tag is static you can simply add it to the header section of the master page. If the value is dynamic, take a look at the link below for a good way to dynamically add meta tags to the header of every page.

http://www.sharepointjohn.com/sharepoint-2010-programmatically-add-javascript-meta-tags-and-css-styles-to-the-header-of-every-page/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.