Meta tag noindex sur test.decp.info

This commit is contained in:
Colin Maudry
2026-01-26 07:02:03 +01:00
parent 3aee2667d0
commit 965f24ab92
2 changed files with 10 additions and 9 deletions
+10 -3
View File
@@ -9,14 +9,21 @@ from flask import Response, send_from_directory
load_dotenv()
development = os.getenv("DEVELOPMENT").lower() == "true"
meta_tags = [
{"name": "viewport", "content": "width=device-width, initial-scale=1"},
]
if development:
meta_tags.append({"name": "robots", "content": "noindex"})
app = Dash(
external_stylesheets=[dbc.themes.SIMPLEX],
title="decp.info",
use_pages=True,
compress=True,
meta_tags=[
{"name": "viewport", "content": "width=device-width, initial-scale=1"},
],
meta_tags=meta_tags,
)
# COSMO (belle font, blue),
# UNITED (rouge, ubuntu font),
-6
View File
@@ -1,8 +1,2 @@
# START YOAST BLOCK
# Copié depuis https://next.ink/robots.txt
# ---------------------------
User-agent: *
Allow: /
# ---------------------------
# END YOAST BLOCK