Adding title in contentplaceholder adds second empty title tag
Posted
by boris callens
on Stack Overflow
See other posts from Stack Overflow
or by boris callens
Published on 2008-12-16T09:16:54Z
Indexed on
2010/03/31
10:33 UTC
Read the original article
Hit count: 465
asp.net-mvc
|title
My master page has a contentplaceholder in the head tag.
Because I want my page's title to represent the function of the current page and because I want the title to be translated in the user's language I have added a title tag in the page's head's contentplaceholder. All jolly and good except that now there appears a second, empty title tag that off course isn't valid.
Any ideas how to solve this?
© Stack Overflow or respective owner