diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml index 9316d8d..94fd1c9 100644 --- a/Pages/Index.cshtml +++ b/Pages/Index.cshtml @@ -2,7 +2,7 @@ @using System.IO @model IndexModel @{ - ViewData["Title"] = $"webmusic on .NET {Environment.Version}"; + ViewData["Title"] = $"{Model.Displaypath} - webmusic on .NET {Environment.Version}"; } @if (Model.Path.Contains("/..")) { return; diff --git a/Pages/lyrics.cshtml b/Pages/lyrics.cshtml index 75392f3..710ce79 100644 --- a/Pages/lyrics.cshtml +++ b/Pages/lyrics.cshtml @@ -2,7 +2,7 @@ @using System.IO @model IndexModel @{ - ViewData["Title"] = $"webmusic on .NET {Environment.Version}"; + ViewData["Title"] = $"{Model.Path} - webmusic on .NET {Environment.Version}"; } @if (Model.Path.Contains("/..")) { return;