diff options
| author | davy <davy.wybiral@gmail.com> | 2019-06-28 20:44:56 -0500 |
|---|---|---|
| committer | davy <davy.wybiral@gmail.com> | 2019-06-28 20:44:56 -0500 |
| commit | ff0b322a332b6c20502faf564292f77001fdb965 (patch) | |
| tree | 4b9b603f8ac066e4249d1e9085f565aa626051b1 /templates | |
| parent | 6e9f1ca8ab34914bcc2327e7d4fab99e6ff6e73c (diff) | |
prefix paths
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index a63d4e9..ab91c8a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -23,9 +23,9 @@ <div id="sidebar">
{{ range $m := .Playlist }}
{{ if eq $m.ID $playing.ID }}
- <a href="/{{ $m.ID }}" class="playing">
+ <a href="/v/{{ $m.ID }}" class="playing">
{{ else }}
- <a href="/{{ $m.ID }}">
+ <a href="/v/{{ $m.ID }}">
{{ end }}
<img src="/t/{{ $m.ID }}">
<div>
|
