Developer forum

Forum » Templates » Remove Snippets tag after performing the "moving"

Remove Snippets tag after performing the "moving"

Jacob Storgaard Jensen
Reply

Hi guys,

I'm using the snippets function to move the title of a paragraph item to the meta title tag... BUT when the snippet isn't defined I just get a <!--@Snippet(MetaTitle)--> in my title of that "page" (item publisher simulating af page). Which shows up in the browser title bar... Is there any way to remove non-used snippet tags...

 


Replies

 
Mikkel Ricky
Reply
This post has been marked as an answer

Try adding <!--@SnippetStart(MetaTitle)--><!--@SnippetEnd(MetaTitle)--> to your page template. 

Best regards,
Mikkel

 

Votes for this answer: 1
 
Jacob Storgaard Jensen
Reply

Roger that, works!

 

You must be logged in to post in the forum