Metadata page title update in Kentico 9

Lindsay Remington asked on August 26, 2019 17:24

I am attempting to update the metadata using macro syntax provided by my international counterparts.

Instead of seeing the correct category, I am seeing the actual syntax.

Could someone please help review my syntax and provide suggestions on how to fix?

{% if(DocumentName != "Home") {return DocumentName + "|"; } else {return "Premium Dental Burs & Rotary Instruments |"}@%Komet USA

Correct Answer

Peter Mogilnitski answered on August 26, 2019 17:33

It seems like you have a macro error you are missing the closing bracket, try this one: {% if(DocumentName != "Home") { DocumentName + "|" } else { "Premium Dental Burs & Rotary Instruments |"} @%} Komet USA

0 votesVote for this answer Unmark Correct answer

Recent Answers


Lindsay Remington answered on August 27, 2019 20:10

Thanks - that worked!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.