summaryrefslogtreecommitdiff
path: root/views/index.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-31 22:05:18 +0100
committerTor Andersson <tor@ccxvii.net>2021-12-31 22:24:47 +0100
commit1f060bf2ef8b3d475b0d37d32bab73e1a601ea11 (patch)
treed8aee9faff64c5690e1a4c3b21e99e6de443fcdb /views/index.pug
parent119675c218c27a33d03ab2f01624486aec6ecdee (diff)
downloadserver-1f060bf2ef8b3d475b0d37d32bab73e1a601ea11.tar.gz
Parameterize site name and domain.
Diffstat (limited to 'views/index.pug')
-rw-r--r--views/index.pug10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/index.pug b/views/index.pug
index 98d5ef7..ec07e03 100644
--- a/views/index.pug
+++ b/views/index.pug
@@ -3,9 +3,9 @@ doctype html
html
head
include head
- +social("Rally the Troops!", "Play historic board games on the web.")
+ +social(SITE_NAME, "Play historic board games on the web.")
meta(name="keywords" content="wargames, war games, block games")
- title Rally the Troops!
+ title= SITE_NAME
style.
div.list {
max-width: 800px;
@@ -31,9 +31,9 @@ html
body
include header
article
- h1 Rally the Troops!
+ h1= SITE_NAME
- p Rally the Troops! is a website where you can play historic board games online.
+ p #{SITE_NAME} is a website where you can play historic board games online.
p Registration and use is free, and there are no ads.
@@ -47,4 +47,4 @@ html
p: a(href="/games") List of all open and active games.
- p Join the #[a(href="https://discord.gg/CBrTh8k84A") Discord] server to find players or report bugs.
+ p!= process.env.SITE_INVITE