Skip to content

Commit 358a852

Browse files
committed
chore(i18n): exclude robots.txt from localization
- Add 'robots.txt' to exclude_from_localization list - Prevents language-specific copies of robots.txt (should stay single, root-level) Rationale: ensure consistent crawl directives across all locales.
1 parent 3041348 commit 358a852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ baseurl: ""
179179
# Polyglot Settings
180180
languages: ["en", "ko", "ja", "zh-TW", "es", "pt-BR", "fr", "de"]
181181
default_lang: "en"
182-
exclude_from_localization: ["javascript", "images", "css", "public", "assets", "sitemap.xml"]
182+
exclude_from_localization: ["javascript", "images", "css", "public", "assets", "sitemap.xml", "robots.txt"]
183183
parallel_localization: true
184184
lang_from_path: true
185185

0 commit comments

Comments
 (0)