Skip to content

Commit 6194486

Browse files
committed
[i18n] Don't generate _redirects for non-en languages
1 parent 1f8c73c commit 6194486

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

content/en/_index.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ description: >-
44
High-quality, ubiquitous, and portable telemetry to enable effective
55
observability
66
show_banner: true
7+
outputs:
8+
- HTML
9+
- REDIRECTS # Include this `content/en` ONLY
710
developer_note:
811
The blocks/cover shortcode (used below) will use as a background image any
912
image file containing "background" in its name.

hugo.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ outputFormats:
5151
notAlternative: true
5252

5353
outputs:
54-
home: [HTML, REDIRECTS]
54+
home: [HTML]
5555
section: [HTML]
5656

5757
params:

0 commit comments

Comments
 (0)