From 1f060bf2ef8b3d475b0d37d32bab73e1a601ea11 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 31 Dec 2021 22:05:18 +0100 Subject: Parameterize site name and domain. --- views/head.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/head.pug') diff --git a/views/head.pug b/views/head.pug index 3c65c23..68fa904 100644 --- a/views/head.pug +++ b/views/head.pug @@ -9,9 +9,9 @@ mixin social(title,description,game) meta(property="og:title" content=title) meta(property="og:type" content="website") if game - meta(property="og:image" content="https://rally-the-troops.com/"+game+"/cover.2x.jpg") + meta(property="og:image" content=SITE_URL+"/"+game+"/cover.2x.jpg") else - meta(property="og:image" content="https://rally-the-troops.com/images/rally-the-troops.png") + meta(property="og:image" content=SITE_URL+"/images/rally-the-troops.png") meta(property="og:description" content=description) mixin gamecover(title_id) -- cgit v1.2.3