summaryrefslogtreecommitdiff
path: root/views/head.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-02-28 12:26:22 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-28 12:27:01 +0100
commit10d420bba43827d9814fb3c55c13983339ac6e70 (patch)
tree43a92643e9ca0058e5daf2f13b6852b5153a8a00 /views/head.pug
parent3371ae0b738c387aaa7d641f785207889afbcc23 (diff)
downloadserver-10d420bba43827d9814fb3c55c13983339ac6e70.tar.gz
Link to game page from thumbnail images.
Diffstat (limited to 'views/head.pug')
-rw-r--r--views/head.pug3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/head.pug b/views/head.pug
index 2cb50a0..78fe0ba 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -104,4 +104,5 @@ mixin gamelist(list,hide_title=0)
div Finished: #{item.mtime}
div Result: !{item.result}
unless hide_title
- img(src=`/${item.title_id}/thumbnail.jpg`)
+ a(href=`/${item.title_id}`)
+ img(src=`/${item.title_id}/thumbnail.jpg`)