summaryrefslogtreecommitdiff
path: root/views/head.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/head.pug')
-rw-r--r--views/head.pug4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/head.pug b/views/head.pug
index 294a911..d5350ac 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -12,6 +12,10 @@ link(rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/SourceSa
//- link(rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/Dingbats.woff2")
//- link(rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/NotoEmoji.woff2")
+mixin gamecover(title_id)
+ a(href="/info/"+title_id)
+ img(src=`/${title_id}/cover.1x.jpg` srcset=`/${title_id}/cover.2x.jpg 2x`)
+
mixin forumpost(row,show_buttons)
.post
.head