Setting language in profiles
This commit is contained in:
parent
73c5fe1dc4
commit
5716061e29
2 changed files with 5 additions and 6 deletions
|
|
@ -10,9 +10,7 @@ website:
|
||||||
- href: posts.qmd
|
- href: posts.qmd
|
||||||
text: Posts
|
text: Posts
|
||||||
|
|
||||||
right:
|
|
||||||
- href: interests.qmd
|
|
||||||
- href: ../fr/
|
|
||||||
text: Français
|
|
||||||
body-header: |
|
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 = '/fr' + location.pathname;" 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>
|
||||||
|
|
||||||
|
lang: en
|
||||||
|
|
@ -13,7 +13,8 @@ website:
|
||||||
right:
|
right:
|
||||||
- href: interests.qmd
|
- href: interests.qmd
|
||||||
text: Ce qui m'intéresse
|
text: Ce qui m'intéresse
|
||||||
- href: ../index.html
|
|
||||||
text: English
|
|
||||||
body-header: |
|
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>
|
<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>
|
||||||
|
|
||||||
|
lang: fr
|
||||||
Loading…
Add table
Reference in a new issue