diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-31 22:05:18 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-12-31 22:24:47 +0100 |
commit | 1f060bf2ef8b3d475b0d37d32bab73e1a601ea11 (patch) | |
tree | d8aee9faff64c5690e1a4c3b21e99e6de443fcdb /views/head.pug | |
parent | 119675c218c27a33d03ab2f01624486aec6ecdee (diff) | |
download | server-1f060bf2ef8b3d475b0d37d32bab73e1a601ea11.tar.gz |
Parameterize site name and domain.
Diffstat (limited to 'views/head.pug')
-rw-r--r-- | views/head.pug | 4 |
1 files changed, 2 insertions, 2 deletions
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) |