diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-06-14 20:41:51 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-06-14 21:09:48 +0200 |
commit | c0fedc808fa61551f926a57bfdafc996e90f6658 (patch) | |
tree | c86854814ec8a92cb031832de6ecdcb1aac0d9c9 | |
parent | 0572a8d4c40c41c57307c3f76dbb0502b09fa38e (diff) | |
download | server-c0fedc808fa61551f926a57bfdafc996e90f6658.tar.gz |
Hide /forum from robots.
-rw-r--r-- | public/robots.txt | 1 | ||||
-rw-r--r-- | views/forum_view.pug | 2 | ||||
-rw-r--r-- | views/header.pug | 2 | ||||
-rw-r--r-- | 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 |