Le multilingue devrait marcher
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
94e18675c0
commit
d4dbfe0ff9
4 changed files with 16 additions and 6 deletions
|
|
@ -4,6 +4,7 @@ steps:
|
|||
commands:
|
||||
- cd /woodpecker/src/git.polarolouis.fr/polarolouis/site-perso
|
||||
- quarto render
|
||||
- quarto render --profile french
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
|
|
|||
|
|
@ -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: |
|
||||
<link rel="stylesheet" href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css><button onclick="window.location = location.href.replace('/','/fr/');" class="btn"><i class="fa fa-language"></i> Français </button>
|
||||
<link rel="stylesheet" href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css><button onclick="window.location = '/fr' + location.pathname;" class="btn"><i class="fa fa-language"></i> Français </button>
|
||||
|
|
@ -14,5 +14,7 @@ website:
|
|||
right:
|
||||
- href: interests.qmd
|
||||
text: Ce qui m'intéresse
|
||||
- href: ../
|
||||
text: English
|
||||
- href: ../index.html
|
||||
text: English
|
||||
body-header: |
|
||||
<link rel="stylesheet" href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css><button onclick="window.location = window.location.href.replace('/fr', '');" class="btn"><i class="fa fa-language"></i> English </button>
|
||||
|
|
@ -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.
|
||||
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.
|
||||
:::
|
||||
Loading…
Add table
Reference in a new issue