From 1b9565fa2eeb2635f2233161f920963bf514b524 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 4 Dec 2021 18:55:49 +0100 Subject: Use img srcset for cover images of differing resolutions. --- views/index.pug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views/index.pug') diff --git a/views/index.pug b/views/index.pug index ba915b0..0a2262b 100644 --- a/views/index.pug +++ b/views/index.pug @@ -38,10 +38,10 @@ html div.list each title in titles unless title.is_hidden + - let cover = "/" + title.title_id + "/cover" div - a(href="/info/"+title.title_id) - img(src="/"+title.title_id+"/cover.jpg") - | #{title.title_name} + +gamecover(title.title_id) + | #{title.title_name} p: a(href="/games") List of all open and active games. -- cgit v1.2.3