Developer forum

Forum » Templates » News V2: Can meta title and description be used in the news item template?

News V2: Can meta title and description be used in the news item template?

Lise Trabjerg Pedersen
Reply
In order to create og:title and og:description for every newsitem in a list (for facebook to find the right text, when people press the like button), I have filled out the meta tags in the news item with the same text as in header and teaser, and then inserting the Title and Meta.Description tags in the og:properties of the master. And it seems to work.
But now I would also like to use the meta.description in my news item template instead of the teaser-tag (So that you don't need to edit the text twice)
Is it possible in some way?

I was sure, that I once in this forum has read a thread about using meta input in the news item template, but I can't find it now.
I was looking at the new GetMaster tag
http://templates.dynamicweb-cms.com/TemplateTags/Dynamicweb-template-tags/General-tags/GetMaster([TemplateTag]).aspx

but I'm not sure if I can use it with this template, though it's a "general tag".

But perhaps somebody else has a solution for the problem?

/Lise

Replies

 

You must be logged in to post in the forum