Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello, I am using Model.Name to get the page title of the page, but for Home page I would like to name the page title as the name of the website instead. Can someone point me to the right direction?
Answering my own question,
var applicationName = "Your Website Name";
if (Model.Id == Umbraco.ContentAtRoot().FirstOrDefault().Id)
<title>@Model.Name | @applicationName</title>
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted