From fb211600f6d8f7f509b89b8e824100b31fb4e8f5 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 10 May 2024 11:34:36 -0400 Subject: [PATCH] [i18n] Don't generate _redirects for non-en languages (#4466) --- content/en/_index.md | 3 +++ hugo.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/content/en/_index.md b/content/en/_index.md index 05e045a23de4..12a2ece429a2 100644 --- a/content/en/_index.md +++ b/content/en/_index.md @@ -4,6 +4,9 @@ description: >- High-quality, ubiquitous, and portable telemetry to enable effective observability show_banner: true +outputs: + - HTML + - REDIRECTS # Include this `content/en` ONLY developer_note: The blocks/cover shortcode (used below) will use as a background image any image file containing "background" in its name. diff --git a/hugo.yaml b/hugo.yaml index a8e2d3b89471..12298c0e07aa 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -51,7 +51,7 @@ outputFormats: notAlternative: true outputs: - home: [HTML, REDIRECTS] + home: [HTML] section: [HTML] params: