diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml
index e73c9dd..9316d8d 100644
--- a/Pages/Index.cshtml
+++ b/Pages/Index.cshtml
@@ -48,7 +48,7 @@ else {
[DL]
@if (System.IO.File.Exists(lrcpath)) {
- [LRC]
+ [LRC]
}
else if (Directory.GetFiles(Model.Fullpath, "*.lrc").Length != 0) {
[---]
diff --git a/Pages/lyrics.cshtml b/Pages/lyrics.cshtml
new file mode 100644
index 0000000..75392f3
--- /dev/null
+++ b/Pages/lyrics.cshtml
@@ -0,0 +1,18 @@
+@page
+@using System.IO
+@model IndexModel
+@{
+ ViewData["Title"] = $"webmusic on .NET {Environment.Version}";
+}
+@if (Model.Path.Contains("/..")) {
+ return;
+}
+@if (!Model.Path.EndsWith(".lrc")) {
+ Response.Redirect("/" + Request.QueryString);
+ return;
+}
+@{
+ Layout = "Shared/_LayoutNojs";
+}
+@Model.Path
+@Html.Raw((await System.IO.File.ReadAllTextAsync("music" + Model.Path)).Replace("\n", "
"))