From c0fedc808fa61551f926a57bfdafc996e90f6658 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 14 Jun 2022 20:41:51 +0200 Subject: Hide /forum from robots. --- public/robots.txt | 1 + views/forum_view.pug | 2 +- views/header.pug | 2 +- views/info.pug | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/robots.txt b/public/robots.txt index d5c191c..eedba57 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -2,6 +2,7 @@ User-agent: * Disallow: /join Disallow: /login Disallow: /signup +Disallow: /forum Disallow: /user Disallow: /games Disallow: /*play* 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 -- cgit v1.2.3