build: robots meta and robots.txt (noindex, Disallow)

This commit is contained in:
Jakub Zych
2026-11-05 01:59:53 +01:00
parent 0dd01855fa
commit a27a16243d
2 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover" />
<meta name="robots" content="noindex, nofollow" />
<meta name="color-scheme" content="light dark" />
<meta name="theme-color" content="#F3F4F1" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#141917" media="(prefers-color-scheme: dark)" />

5
public/robots.txt Normal file
View File

@@ -0,0 +1,5 @@
# bm is a private study app for one group of students: no page is meant
# for search engines (D-72). nginx also sends X-Robots-Tag: noindex, nofollow
# on every response, and index.html carries the robots meta.
User-agent: *
Disallow: /