From d9d0f5c97fd4adacc4b1a7062e8140bd8b537233 Mon Sep 17 00:00:00 2001 From: RadioPotin Date: Tue, 27 Aug 2024 10:42:29 +0200 Subject: [PATCH] fix resource pathing for en site --- .github/workflows/hugo.yaml | 1 - hugo.toml | 3 ++- layouts/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 1298e29..2588d0f 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -76,4 +76,3 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v3 - diff --git a/hugo.toml b/hugo.toml index cdaaa87..464928e 100644 --- a/hugo.toml +++ b/hugo.toml @@ -6,7 +6,8 @@ SectionPagesMenu = "main" theme = 'ananke' -DefaultContentLanguage = "fr" +defaultContentLanguage = "fr" +defaultContentLanguageInSubdir = true Paginate = 10 diff --git a/layouts/index.html b/layouts/index.html index 19e3551..137e981 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -28,7 +28,7 @@

{{ .Params.project.content | markdownify}}
- {{ .Params.project.img.alt }} + {{ .Params.project.img.alt }}

{{ .Params.coordinator.sectiontitle }}