Title fixes
This commit is contained in:
parent
a89285feaa
commit
5ee2a3b3c2
|
@ -1,9 +1,10 @@
|
||||||
@page
|
@page
|
||||||
@using System.IO
|
@using System.IO
|
||||||
|
@using System.Web
|
||||||
@model IndexModel
|
@model IndexModel
|
||||||
@{
|
@{
|
||||||
if (Model.LogConditionsMet)
|
if (Model.LogConditionsMet)
|
||||||
ViewData["Title"] = $"{Model.LogArtist} - {Model.LogAlbum} ~ webmusic on .NET {Environment.Version}";
|
ViewData["Title"] = $"{HttpUtility.UrlDecode(Model.LogArtist)} - {Model.LogAlbum} ~ webmusic on .NET {Environment.Version}";
|
||||||
else
|
else
|
||||||
ViewData["Title"] = $"{Model.Displaypath} - webmusic on .NET {Environment.Version}";
|
ViewData["Title"] = $"{Model.Displaypath} - webmusic on .NET {Environment.Version}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue