From d4706df2fc42292446da517938f705069c1a1e1e Mon Sep 17 00:00:00 2001 From: Terry Geng Date: Sat, 8 Feb 2020 18:42:14 +0800 Subject: [PATCH] beautify, truncate playlist title --- templates/playlist.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/playlist.html b/templates/playlist.html index 41453e0..463f592 100644 --- a/templates/playlist.html +++ b/templates/playlist.html @@ -19,9 +19,9 @@
{% if 'title' in m and m['title'].strip() %} - {{ m['title']|truncate(50) }} + {{ m['title']|truncate(45) }} {% elif 'url' in m %} - {{ m['url']|truncate(50) }} + {{ m['url']|truncate(45) }} {% endif %} {{ m['type'].capitalize() }}