summaryrefslogtreecommitdiff
path: root/views/info.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-28 16:08:22 +0100
committerTor Andersson <tor@ccxvii.net>2021-12-29 17:02:47 +0100
commit98c973430b3d4667e8f6645628fc00284ef041e8 (patch)
tree86a17dedeb59676fd00a25a39b722c7f4155185c /views/info.pug
parent0a8a73c47d8fe0c63425af3ab0394ae52b0f3532 (diff)
downloadserver-98c973430b3d4667e8f6645628fc00284ef041e8.tar.gz
Add OpenGraph meta tags to display previews on social media.
Diffstat (limited to 'views/info.pug')
-rw-r--r--views/info.pug1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/info.pug b/views/info.pug
index b579f64..86a74d0 100644
--- a/views/info.pug
+++ b/views/info.pug
@@ -3,6 +3,7 @@ doctype html
html
head
include head
+ +social(title.title_name, "Play " + title.title_name + " on the web.", title.title_id)
title= title.title_name
if user
meta(http-equiv="refresh" content=300)