Premier tests multilingues
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
93a885cfd4
commit
94e18675c0
4 changed files with 48 additions and 17 deletions
20
_quarto-english.yml
Normal file
20
_quarto-english.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
project:
|
||||||
|
output-dir: public
|
||||||
|
|
||||||
|
website:
|
||||||
|
title: "Louis Lacoste"
|
||||||
|
navbar:
|
||||||
|
left:
|
||||||
|
- href: index.qmd
|
||||||
|
text: Home
|
||||||
|
- href: posts.qmd
|
||||||
|
text: Posts
|
||||||
|
- href: about.qmd
|
||||||
|
text: About me
|
||||||
|
right:
|
||||||
|
- href: interests.qmd
|
||||||
|
- href: index.qmd
|
||||||
|
- 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>
|
||||||
18
_quarto-french.yml
Normal file
18
_quarto-french.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
project:
|
||||||
|
output-dir: public/fr
|
||||||
|
|
||||||
|
website:
|
||||||
|
title: "Louis Lacoste"
|
||||||
|
navbar:
|
||||||
|
left:
|
||||||
|
- href: index.qmd
|
||||||
|
text: Accueil
|
||||||
|
- href: posts.qmd
|
||||||
|
text: Postes
|
||||||
|
- href: about.qmd
|
||||||
|
text: À propos de moi
|
||||||
|
right:
|
||||||
|
- href: interests.qmd
|
||||||
|
text: Ce qui m'intéresse
|
||||||
|
- href: ../
|
||||||
|
text: English
|
||||||
19
_quarto.yml
19
_quarto.yml
|
|
@ -1,19 +1,9 @@
|
||||||
project:
|
project:
|
||||||
type: website
|
type: website
|
||||||
output-dir: public
|
|
||||||
|
|
||||||
website:
|
profile:
|
||||||
title: "Louis Lacoste"
|
default: english
|
||||||
navbar:
|
group: [english, french]
|
||||||
left:
|
|
||||||
- href: index.qmd
|
|
||||||
text: Home
|
|
||||||
- href: posts.qmd
|
|
||||||
text: Posts
|
|
||||||
- href: about.qmd
|
|
||||||
text: About me
|
|
||||||
right:
|
|
||||||
- href: interests.qmd
|
|
||||||
|
|
||||||
execute:
|
execute:
|
||||||
freeze: auto
|
freeze: auto
|
||||||
|
|
@ -24,6 +14,3 @@ format:
|
||||||
css: styles.css
|
css: styles.css
|
||||||
toc: true
|
toc: true
|
||||||
html-math-method: katex
|
html-math-method: katex
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,10 @@ about:
|
||||||
target: _blank
|
target: _blank
|
||||||
---
|
---
|
||||||
|
|
||||||
|
::: {.content-visible when-profile="english"}
|
||||||
Will update later
|
Will update later
|
||||||
|
:::
|
||||||
|
|
||||||
|
::: {.content-visible when-profile="french"}
|
||||||
|
Je mettrai à jour plus tard
|
||||||
|
:::
|
||||||
Loading…
Add table
Reference in a new issue