From d4dbfe0ff9d172fb349c2804915f8263e79a5cbb Mon Sep 17 00:00:00 2001 From: Louis Lacoste Date: Thu, 24 Apr 2025 20:55:23 +0200 Subject: [PATCH] Le multilingue devrait marcher --- .woodpecker.yml | 1 + _quarto-english.yml | 6 +++--- _quarto-french.yml | 6 ++++-- about.qmd | 9 ++++++++- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 84cec67..b3e6c31 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,6 +4,7 @@ steps: commands: - cd /woodpecker/src/git.polarolouis.fr/polarolouis/site-perso - quarto render + - quarto render --profile french when: event: - push diff --git a/_quarto-english.yml b/_quarto-english.yml index c0b9205..9465588 100644 --- a/_quarto-english.yml +++ b/_quarto-english.yml @@ -1,5 +1,5 @@ project: - output-dir: public + output-dir: public/ website: title: "Louis Lacoste" @@ -14,7 +14,7 @@ website: right: - href: interests.qmd - href: index.qmd - - href: fr/ + - href: ../fr/ text: Français body-header: | - \ No newline at end of file + \ No newline at end of file diff --git a/_quarto-french.yml b/_quarto-french.yml index 0c93cdc..c7a56e4 100644 --- a/_quarto-french.yml +++ b/_quarto-french.yml @@ -14,5 +14,7 @@ website: right: - href: interests.qmd text: Ce qui m'intéresse - - href: ../ - text: English \ No newline at end of file + - href: ../index.html + text: English + body-header: | + \ No newline at end of file diff --git a/about.qmd b/about.qmd index d54c100..e75ffd6 100644 --- a/about.qmd +++ b/about.qmd @@ -3,5 +3,12 @@ title: "About me" --- +:::{.content-visible when-profile="english"} I'm a PhD student in Applied Mathematics at MIA Paris-Saclay under supervision -of Pierre Barbillon and Sophie Donnet. \ No newline at end of file +of Pierre Barbillon and Sophie Donnet. +::: + +:::{.content-visible when-profile="french"} +Je suis doctorant en statistiques appliquées au laboratoire MIA Paris-Saclay +sous la direction de Pierre Barbillon et Sophie Donnet. +::: \ No newline at end of file