06-02-2015 04:08 AM
Our system is on TeamSite 7.4.1 and we want to use meta tags on our pages and hence added the meta tags on page using page setting->meta tags
<meta name="customTag" content="trying to check values"/>
NOw when we preview the page within TeamSite, we are unable to view them in source, is there any additional steps we need to perform?
Solved! Go to Solution.
06-02-2015 07:13 AM
Once upon a time the xsl to print this stuff wasn't in the top-level xsl file (or you may have overridden it with a version that doesn't include that piece).
Make sure your fixed-layout.page.xsl (or whatever you're using) has this snippet:
<xsl:for-each select="MetaTags/MetaTag"> <xsl:element name="meta"> <xsl:attribute name="name"><xsl:value-of select="name"/></xsl:attribute> <xsl:attribute name="content"><xsl:value-of select="content"/></xsl:attribute> </xsl:element> </xsl:for-each>