SEO : titres, descriptions, H1, texte d'accueil, llms.txt, robots.txt et sitemap

- Accueil : title, meta description, og/twitter alignés, H1 « Météo Vercors »
  (« Météo » masqué visuellement), texte statique sous la carte.
- Forum : title et H1 de la liste, meta description, canonical et Open Graph
  dans page(), extrait du 1er message pour les sujets.
- llms.txt / llms-full.txt : plus de nombre fixe de stations, forum, mission,
  exemple Moucherolle.
- robots.txt : Disallow connexion, api, photo du forum ; /forum/ au sitemap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cette révision appartient à :
Théo GastineletClaude Opus 5.5 a révisé 2026-11-06 23:33:59 +01:00
1 Parent fad618b22e
révision 89ff2b3d6e
5 fichiers modifiés
+64 -20

Aucun fichier ne correspond à votre recherche

+2 -2
Voir le fichier
@@ -39,8 +39,8 @@ def main():
for fixe in ("404.html", "llms.txt", "llms-full.txt", "charte.html", "charte-vercors.pdf"):
if os.path.exists(os.path.join(ICI, fixe)):
shutil.copy(os.path.join(ICI, fixe), os.path.join(DEST, fixe))
open(os.path.join(DEST, "robots.txt"), "w", encoding="utf-8").write("User-agent: *\nAllow: /\nSitemap: https://vercors.me/sitemap.xml\n")
urls = "".join("<url><loc>https://vercors.me/%s</loc></url>" % u for u in ("", "climat", "a-propos", "statistiques", "charte"))
open(os.path.join(DEST, "robots.txt"), "w", encoding="utf-8").write("User-agent: *\nAllow: /\nDisallow: /forum/connexion\nDisallow: /forum/api/\nDisallow: /forum/photo/\nSitemap: https://vercors.me/sitemap.xml\n")
urls = "".join("<url><loc>https://vercors.me/%s</loc></url>" % u for u in ("", "climat", "a-propos", "statistiques", "charte", "forum/"))
open(os.path.join(DEST, "sitemap.xml"), "w", encoding="utf-8").write('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">%s</urlset>\n' % urls)
for dossier in ("polices", "tuiles"):
src = os.path.join(ICI, dossier)