summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/about.pug8
-rw-r--r--views/head.pug4
-rw-r--r--views/index.pug10
-rw-r--r--views/profile.pug4
4 files changed, 13 insertions, 13 deletions
diff --git a/views/about.pug b/views/about.pug
index 2a0a9a2..fabc580 100644
--- a/views/about.pug
+++ b/views/about.pug
@@ -3,17 +3,17 @@ doctype html
html
head
include head
- title Rally the Troops!
+ title= SITE_NAME
style.
li img { height: 1.0em; vertical-align: middle; }
body
include header
article
- h1 Rally the Troops!
+ h1= SITE_NAME
- p Rally the Troops! is created and maintained by Tor Andersson. It is an open source project.
+ p Rally the Troops! is created and maintained by Tor Andersson. It is a free software project.
- p Please submit problem reports and make suggestions for improvements on #[a(href="https://github.com/ccxvii/rally-the-troops/issues") GitHub].
+ p Please submit problem reports and make suggestions for improvements on #[a(href="https://github.com/rally-the-troops/") GitHub].
h2 Tips & Tricks
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)
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
diff --git a/views/profile.pug b/views/profile.pug
index 77cc597..6fb777a 100644
--- a/views/profile.pug
+++ b/views/profile.pug
@@ -3,13 +3,13 @@ doctype html
html
head
include head
- title Rally the Troops!
+ title= SITE_NAME
if active_games.length > 0
meta(http-equiv="refresh" content=300)
body
include header
article
- h1 Rally the Troops!
+ h1= SITE_NAME
a(href="https://gravatar.com/"): img.avatar(src=avatar)
p Welcome, #{user.name}!