summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-06-14 20:41:51 +0200
committerTor Andersson <tor@ccxvii.net>2022-06-14 21:09:48 +0200
commitc0fedc808fa61551f926a57bfdafc996e90f6658 (patch)
treec86854814ec8a92cb031832de6ecdcb1aac0d9c9 /views
parent0572a8d4c40c41c57307c3f76dbb0502b09fa38e (diff)
downloadserver-c0fedc808fa61551f926a57bfdafc996e90f6658.tar.gz
Hide /forum from robots.
Diffstat (limited to 'views')
-rw-r--r--views/forum_view.pug2
-rw-r--r--views/header.pug2
-rw-r--r--views/info.pug2
3 files changed, 3 insertions, 3 deletions
diff --git a/views/forum_view.pug b/views/forum_view.pug
index ae51945..6100e60 100644
--- a/views/forum_view.pug
+++ b/views/forum_view.pug
@@ -4,7 +4,7 @@ html
head
include head
title Forum
- meta(http-equiv="refresh" content=900)
+ meta(http-equiv="refresh" content=3600)
style.
tbody a { display: block }
td:nth-child(3) { text-align: right }
diff --git a/views/header.pug b/views/header.pug
index c019e9f..a0e9707 100644
--- a/views/header.pug
+++ b/views/header.pug
@@ -3,8 +3,8 @@ header
img(src="/images/rally-the-troops.svg" width=48 height=48)
nav
a(href="/about") About
- a(href="/forum") Forum
if user
+ a(href="/forum") Forum
a(href="/games/public") Public
if user.active > 0
a(href="/games/active") Games (#{user.active})
diff --git a/views/info.pug b/views/info.pug
index 62698c9..d60f79f 100644
--- a/views/info.pug
+++ b/views/info.pug
@@ -11,7 +11,7 @@ html
+social(title.title_name, "Play " + title.title_name + " on the web.", title.title_id)
title= title.title_name
if user
- meta(http-equiv="refresh" content=600)
+ meta(http-equiv="refresh" content=900)
body
include header
article