diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-28 16:08:22 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-12-29 17:02:47 +0100 |
commit | 98c973430b3d4667e8f6645628fc00284ef041e8 (patch) | |
tree | 86a17dedeb59676fd00a25a39b722c7f4155185c /views/join.pug | |
parent | 0a8a73c47d8fe0c63425af3ab0394ae52b0f3532 (diff) | |
download | server-98c973430b3d4667e8f6645628fc00284ef041e8.tar.gz |
Add OpenGraph meta tags to display previews on social media.
Diffstat (limited to 'views/join.pug')
-rw-r--r-- | views/join.pug | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/join.pug b/views/join.pug index 6055879..a982b93 100644 --- a/views/join.pug +++ b/views/join.pug @@ -3,6 +3,9 @@ doctype html html head include head + +social(game.title_name, + "Play " + game.title_name + " with " + players.map(x=>x.name).join(" and ") + ".", + game.title_id) title= game.title_name style. table { min-width: auto; } |