From dd017ee146fa81b0a750d6499468955eac8aabff Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Fri, 9 Aug 2024 11:28:02 +0200 Subject: [PATCH 1/2] Add mount points --- hugo.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hugo.yaml b/hugo.yaml index 0c9f11155091..51b49f44738b 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -246,6 +246,11 @@ module: - source: tmp/semconv/docs target: content/docs/specs/semconv + ## es + - source: content/es + target: content + lang: es + ## ja - source: content/ja target: content From d8f2ca51bc1a4de5bb3007556d3ca6f1cd055bc9 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Fri, 9 Aug 2024 11:37:39 +0200 Subject: [PATCH 2/2] Add fallback pages --- hugo.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hugo.yaml b/hugo.yaml index 51b49f44738b..c102ecf54a22 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -250,6 +250,14 @@ module: - source: content/es target: content lang: es + # fallback pages + - source: content/en/announcements + target: content/announcements + lang: es + - excludeFiles: specs/* + source: content/en/docs + target: content/docs + lang: es ## ja - source: content/ja