From 98c973430b3d4667e8f6645628fc00284ef041e8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 28 Dec 2021 16:08:22 +0100 Subject: Add OpenGraph meta tags to display previews on social media. --- views/join.pug | 3 +++ 1 file changed, 3 insertions(+) (limited to 'views/join.pug') 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; } -- cgit v1.2.3