diff options
Diffstat (limited to 'web_server/templates/song.htm')
| -rw-r--r-- | web_server/templates/song.htm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web_server/templates/song.htm b/web_server/templates/song.htm new file mode 100644 index 0000000..072567a --- /dev/null +++ b/web_server/templates/song.htm @@ -0,0 +1,7 @@ +<a href="{{ item.webpage_url }}">{{ item.title }}</a> +<span>({{ item.duration|fmt_duration }})</span> +{% match item.thumbnail %} + {% when Some with (thumbnail) %} + <img src="{{ thumbnail }}" height="128"> + {% when None %} +{% endmatch %} |
