Title fixes
This commit is contained in:
parent
a89285feaa
commit
5ee2a3b3c2
|
@ -1,9 +1,10 @@
|
|||
@page
|
||||
@using System.IO
|
||||
@using System.Web
|
||||
@model IndexModel
|
||||
@{
|
||||
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
|
||||
ViewData["Title"] = $"{Model.Displaypath} - webmusic on .NET {Environment.Version}";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue