Add durations and LRC files to music page

This commit is contained in:
Joshua Boniface
2024-09-19 00:41:39 -04:00
parent 81437d3315
commit e25df4998f
4 changed files with 2162 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<!-- require APlayer -->
<link rel="stylesheet" href="/css/APlayer.css">
<script src="/js/APlayer.min.js"></script>
<script src="/js/APlayer.js"></script>
<div id="aplayer"></div>
@ -72,6 +72,10 @@
url: "{{ index (split ($.Get "url") ",") $i }}",
{{ with index (split ($.Get "duration") ",") $i }}
duration: "{{ . }}",
{{ end }}
{{ with index (split ($.Get "artist") ",") $i }}
artist: "{{ . }}",
{{ end }}