Make title more descriptive
This commit is contained in:
parent
2522214a97
commit
41795c11ea
|
@ -2,7 +2,7 @@
|
||||||
@using System.IO
|
@using System.IO
|
||||||
@model IndexModel
|
@model IndexModel
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = $"webmusic on .NET {Environment.Version}";
|
ViewData["Title"] = $"{Model.Displaypath} - webmusic on .NET {Environment.Version}";
|
||||||
}
|
}
|
||||||
@if (Model.Path.Contains("/..")) {
|
@if (Model.Path.Contains("/..")) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
@using System.IO
|
@using System.IO
|
||||||
@model IndexModel
|
@model IndexModel
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = $"webmusic on .NET {Environment.Version}";
|
ViewData["Title"] = $"{Model.Path} - webmusic on .NET {Environment.Version}";
|
||||||
}
|
}
|
||||||
@if (Model.Path.Contains("/..")) {
|
@if (Model.Path.Contains("/..")) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue