Our website has been made so that the meta title only changes very little, and the meta description doesn't change at all on the different pages.
I'm very much a noob with Umbraco, so I don't know how to handle this problem:
This is the current template code:
@Model.Content.Name - Højskolen på Kalø
In each page, there is a tab called Meta Data , where I can add Meta Title, but the content is not displayed anywhere.
How can I pull that content and display in in the code above?
Do I need some info from the document type?
@(Model.Content.HasValue("metaTitle") ? Model.Content.GetPropertyValue("metaTitle") : Model.Content.Name)
, but now I'm stuck with special characters like ÆØÅ not being displayed properly... I've set the<meta charset="UTF-8">
but I still get ÆØÅ – Zyberchief@(Model.Content.HasValue("metaTitle") ? Model.Content.GetPropertyValue("metaTitle") : Model.Content.Name) - slutning ÆØÅ
I get this: meta titlen er her ÆØÅ - slutning ÆØÅ – Zyberchief