diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml index 4acf63a..84f047c 100644 --- a/Pages/Index.cshtml +++ b/Pages/Index.cshtml @@ -8,6 +8,7 @@ return; } @if (Model.Path.EndsWith(".lrc")) { + Layout = "Shared/_LayoutNojs";

@Model.Path

@Html.Raw((await System.IO.File.ReadAllTextAsync("music" + Model.Path)).Replace("\n", "
"))

} diff --git a/Pages/Shared/_LayoutNojs.cshtml b/Pages/Shared/_LayoutNojs.cshtml new file mode 100644 index 0000000..43b576e --- /dev/null +++ b/Pages/Shared/_LayoutNojs.cshtml @@ -0,0 +1,33 @@ + + + + + + + + @ViewData["Title"] + + + + + + + + + + + + + + + + + + + + +
+ @RenderBody() +
+ + \ No newline at end of file