Make title more descriptive
This commit is contained in:
parent
2522214a97
commit
41795c11ea
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue