You’d think that you could do something like this to get meta description and keywords from umbraco
<meta name="description" content="" />
Unfortunately umbraco will render this:
<meta name="description" content="<umbraco:Item runat='server' field='PageDescription'/>" />
The solution is inline xslt:
<umbraco:Item ID="Item" Field="PageDescription" runat="server" Xslt="concat('')"XsltDisableEscaping="true">umbraco:Item>
No comments:
Post a Comment