diff --git a/.hugo_build.lock b/.hugo_build.lock
new file mode 100644
index 0000000..e69de29
diff --git a/content/en/posts/first.md b/content/en/posts/first.md
new file mode 100644
index 0000000..fc7925b
--- /dev/null
+++ b/content/en/posts/first.md
@@ -0,0 +1,13 @@
++++
+title = 'Comming out'
+date = 2024-01-11T17:48:10-05:00
+draft = true
++++
+
+ English version
+ -- Violette
+
+## ressources
++ [un document complet](https://genderdysphoria.fyi/fr/)
++ [Association transgenre francophone](https://fransgenre.fr)
++ [Association transgenre de Sherbrooke](https://transestrie.org)
diff --git a/hugo.toml b/hugo.toml
index f501d90..1e2e224 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -1,9 +1,9 @@
-baseURL = 'https://bigblase.xyz'
-title = "Violette's cozy corner"
+baseURL = 'https://violette.town'
+title = "Vi's cozy corner"
theme = "violette"
-defaultContentLanguage = 'en'
-defaultContentLanguageInSubdir = true
+defaultContentLanguage = 'fr'
+
[languages]
[languages.fr]
contentDir = 'content/fr'
@@ -12,12 +12,28 @@ defaultContentLanguageInSubdir = true
languageDirection = 'ltr'
languageName = 'Français'
title = 'Le Coin de Violette'
- weight = 1
[languages.en]
contentDir = 'content/en'
disabled = false
languageCode = 'en-US'
languageDirection = 'ltr'
languageName = 'English'
- title = "Violette's cozy corner"
- weight = 2
+ title = "Vi's cozy corner"
+
+[[menus.main]]
+name = 'Home'
+identifier = 'Home'
+pageRef = '/'
+weight = 10
+
+[[menus.main]]
+name = 'Posts'
+identifier = 'Posts'
+pageRef = '/posts'
+weight = 20
+
+[[menus.main]]
+name = 'Tags'
+identifier = 'Tags'
+pageRef = '/tags'
+weight = 30
diff --git a/i18n/en.toml b/i18n/en.toml
new file mode 100644
index 0000000..74943bf
--- /dev/null
+++ b/i18n/en.toml
@@ -0,0 +1,11 @@
+[footer]
+ other = 'Take care, drink your water!'
+
+[language]
+ other = 'Français'
+
+[language-switch]
+ other = '/fr'
+
+[dark-mode]
+ other = 'Dark mode'
diff --git a/i18n/fr.toml b/i18n/fr.toml
new file mode 100644
index 0000000..e1dab84
--- /dev/null
+++ b/i18n/fr.toml
@@ -0,0 +1,14 @@
+Posts = "Postes"
+Home = "Retour"
+
+[footer]
+ other = 'Prends soins de toi !'
+
+[language]
+ other = 'English'
+
+[language-switch]
+ other = '/'
+
+[dark-mode]
+ other = 'Mode sombre'
diff --git a/public/categories/index.html b/public/categories/index.html
deleted file mode 100644
index 9e4c3ed..0000000
--- a/public/categories/index.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
-
-
-
- Categories | Vi's Corner
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Violette's cozy corner
-
-
-
-
-
-
-
- Categories
-
-
-
-
-
-
-
diff --git a/public/css/main.min.4da30eef3a3f6cb54d1c9c2a4fe4070d59b406493e26864d235aefe130c6f908.css b/public/css/main.min.4da30eef3a3f6cb54d1c9c2a4fe4070d59b406493e26864d235aefe130c6f908.css
deleted file mode 100644
index d992a85..0000000
--- a/public/css/main.min.4da30eef3a3f6cb54d1c9c2a4fe4070d59b406493e26864d235aefe130c6f908.css
+++ /dev/null
@@ -1 +0,0 @@
-body{color:#fff;background-color:#111;font-family:sans-serif;line-height:1.5;margin:1rem}header{border-bottom:1px solid #222;margin-bottom:1rem}h1{width:100%;text-align:center;color:#c282e0;transition:300ms color}h1:hover{color:#5082cf;transition-duration:500ms}footer{border-top:1px solid #222;margin-top:1rem;width:100%;position:sticky;background-color:#111}p,#footer{text-align:center}.nav{display:flex;list-style-type:none}li{margin:5pt}a{color:#c282e0;text-decoration:none}
\ No newline at end of file
diff --git a/public/css/main.min.c9f29af410c77e44d367d0c59c93740ca2d72ca8230740648ddf1d9a7543a312.css b/public/css/main.min.c9f29af410c77e44d367d0c59c93740ca2d72ca8230740648ddf1d9a7543a312.css
new file mode 100644
index 0000000..61fa98f
--- /dev/null
+++ b/public/css/main.min.c9f29af410c77e44d367d0c59c93740ca2d72ca8230740648ddf1d9a7543a312.css
@@ -0,0 +1,3 @@
+:root{--bg:white;--border:white;--text:black;--text-pink-dark:#ed61e1;--text-mauve-dark:#c282e0;--text-pink-light:#ed61e1;--text-mauve-light:#c282e0;--text-pink:blue;--text-mauve:#c282e0}@media(prefers-color-scheme:dark){:root{--bg:black;--text:white;--text-pink:var(--text-pink-dark);--text-mauve:var(--text-mauve-dark)}#color-mode:checked~.color-scheme-wrapper{--bg:black;--text:white;--text-pink:var(--text-pink-dark)
+ --text-mauve: var(--text-mauve-dark)}@media(prefers-color-scheme:dark){#color-mode:checked~.color-scheme-wrapper{--bg:white;--text:black;--text-pink:var(--text-pink-light)
+ --text-mauve: var(--text-mauve-light)}}.color-scheme-wrapper{min-height:100vh;background:var(--bg);color:var(--text)}.margin{background:var(--bg);color:var(--text);padding-left:20px;padding-right:20px}#color-mode{display:none}body{font-family:sans-serif;line-height:1.5;margin:0}header{background-color:var(--bg);color:var(--text);border-bottom:1px solid #222;margin-bottom:1rem}h1{width:100%;padding-top:10px;color:var(--text-pink);text-align:center;transition:300ms color;margin-top:0}h1:hover{color:var(--text-mauve);transition-duration:500ms}h2{color:var(--text-pink);transition:300ms color}h2:hover{color:var(--text-mauve);transition-duration:500ms}h3{color:var(--text-pink);padding-left:20px}footer{border-top:1px solid #222;margin-top:0;padding-top:0;width:100%;display:flex;position:sticky}.footer{color:var(--text);background-color:var(--bg);align-items:center;width:100%;display:flex;justify-content:center;gap:10px}.nav{display:flex;list-style-type:none;margin:5pt}main{background-color:var(--bg);border-bottom:1rem solid var(--bg)}.nav-right{display:flex;align-items:flex-end;justify-content:flex-end;list-style-type:none;width:100%}li{padding-left:5pt;padding-right:5pt}ul{padding-right:5pt;margin-left:5pt}a,label{color:#c282e0;text-decoration:none}.toggle-dark{align-self:flex-end;width:auto;padding-right:20pt;padding-left:20pt}.toggle-dark label{width:100%;display:block}}
\ No newline at end of file
diff --git a/public/en/categories/index.html b/public/en/categories/index.html
new file mode 100644
index 0000000..844be9e
--- /dev/null
+++ b/public/en/categories/index.html
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+ Categories | Vi's Corner
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Violette's cozy corner
+
+
+
+
+
+
+
+
+ Categories
+
+
+
+
+
+
+
+
diff --git a/public/categories/index.xml b/public/en/categories/index.xml
similarity index 64%
rename from public/categories/index.xml
rename to public/en/categories/index.xml
index d355449..a1aadea 100644
--- a/public/categories/index.xml
+++ b/public/en/categories/index.xml
@@ -2,10 +2,10 @@
Categories on Violette's cozy corner
- https://bigblase.xyz/categories/
+ https://bigblase.xyz/en/categories/
Recent content in Categories on Violette's cozy corner
Hugo -- gohugo.io
- en-us
-
+ en-US
+
diff --git a/public/en/index.html b/public/en/index.html
new file mode 100644
index 0000000..5b7ebd9
--- /dev/null
+++ b/public/en/index.html
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+ Vi's corner
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Violette's cozy corner
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/public/en/index.xml b/public/en/index.xml
new file mode 100644
index 0000000..c60a920
--- /dev/null
+++ b/public/en/index.xml
@@ -0,0 +1,11 @@
+
+
+
+ Violette's cozy corner
+ https://bigblase.xyz/en/
+ Recent content on Violette's cozy corner
+ Hugo -- gohugo.io
+ en-US
+
+
+
diff --git a/public/en/sitemap.xml b/public/en/sitemap.xml
new file mode 100644
index 0000000..b602d69
--- /dev/null
+++ b/public/en/sitemap.xml
@@ -0,0 +1,41 @@
+
+
+
+ https://bigblase.xyz/en/categories/
+
+
+
+ https://bigblase.xyz/en/tags/
+
+
+
+ https://bigblase.xyz/en/
+
+
+
+
diff --git a/public/en/tags/index.html b/public/en/tags/index.html
new file mode 100644
index 0000000..32c5705
--- /dev/null
+++ b/public/en/tags/index.html
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+ Tags | Vi's Corner
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Violette's cozy corner
+
+
+
+
+
+
+
+
+ Tags
+
+
+
+
+
+
+
+
diff --git a/public/tags/index.xml b/public/en/tags/index.xml
similarity index 64%
rename from public/tags/index.xml
rename to public/en/tags/index.xml
index debf1ef..e895198 100644
--- a/public/tags/index.xml
+++ b/public/en/tags/index.xml
@@ -2,10 +2,10 @@
Tags on Violette's cozy corner
- https://bigblase.xyz/tags/
+ https://bigblase.xyz/en/tags/
Recent content in Tags on Violette's cozy corner
Hugo -- gohugo.io
- en-us
-
+ en-US
+
diff --git a/public/fr/categories/index.html b/public/fr/categories/index.html
new file mode 100644
index 0000000..127fec7
--- /dev/null
+++ b/public/fr/categories/index.html
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+ Categories | Vi's Corner
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Le Coin de Violette
+
+
+
+
+
+
+
+
+ Categories
+
+
+
+
+
+
+
+
diff --git a/public/fr/categories/index.xml b/public/fr/categories/index.xml
new file mode 100644
index 0000000..a32f593
--- /dev/null
+++ b/public/fr/categories/index.xml
@@ -0,0 +1,11 @@
+
+
+
+ Categories on Le Coin de Violette
+ https://bigblase.xyz/fr/categories/
+ Recent content in Categories on Le Coin de Violette
+ Hugo -- gohugo.io
+ fr-FR
+
+
+
diff --git a/public/fr/index.html b/public/fr/index.html
new file mode 100644
index 0000000..ed45ada
--- /dev/null
+++ b/public/fr/index.html
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+ Vi's corner
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Le Coin de Violette
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/public/fr/index.xml b/public/fr/index.xml
new file mode 100644
index 0000000..28c9293
--- /dev/null
+++ b/public/fr/index.xml
@@ -0,0 +1,11 @@
+
+
+
+ Le Coin de Violette
+ https://bigblase.xyz/fr/
+ Recent content on Le Coin de Violette
+ Hugo -- gohugo.io
+ fr-FR
+
+
+
diff --git a/public/fr/sitemap.xml b/public/fr/sitemap.xml
new file mode 100644
index 0000000..dfa8a69
--- /dev/null
+++ b/public/fr/sitemap.xml
@@ -0,0 +1,41 @@
+
+
+
+ https://bigblase.xyz/fr/categories/
+
+
+
+ https://bigblase.xyz/fr/
+
+
+
+ https://bigblase.xyz/fr/tags/
+
+
+
+
diff --git a/public/fr/tags/index.html b/public/fr/tags/index.html
new file mode 100644
index 0000000..0c58799
--- /dev/null
+++ b/public/fr/tags/index.html
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+ Tags | Vi's Corner
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Le Coin de Violette
+
+
+
+
+
+
+
+
+ Tags
+
+
+
+
+
+
+
+
diff --git a/public/fr/tags/index.xml b/public/fr/tags/index.xml
new file mode 100644
index 0000000..731bb87
--- /dev/null
+++ b/public/fr/tags/index.xml
@@ -0,0 +1,11 @@
+
+
+
+ Tags on Le Coin de Violette
+ https://bigblase.xyz/fr/tags/
+ Recent content in Tags on Le Coin de Violette
+ Hugo -- gohugo.io
+ fr-FR
+
+
+
diff --git a/public/index.html b/public/index.html
index 4a3afb0..8014d4f 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,55 +1,10 @@
-
-
-
-
-
-
-
- Vi's corner
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Violette's cozy corner
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ https://violette.town/
+
+
+
+
+
diff --git a/public/index.xml b/public/index.xml
deleted file mode 100644
index 5dee7dd..0000000
--- a/public/index.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- Violette's cozy corner
- https://bigblase.xyz/
- Recent content on Violette's cozy corner
- Hugo -- gohugo.io
- en-us
- Thu, 11 Jan 2024 17:48:10 -0500
-
- -
- First
- https://bigblase.xyz/posts/first/
- Thu, 11 Jan 2024 17:48:10 -0500
- https://bigblase.xyz/posts/first/
- So yeah this is a post hey hey
-
-
-
diff --git a/public/neocat_hug_heart.png b/public/neocat_hug_heart.png
new file mode 100644
index 0000000..cffb569
Binary files /dev/null and b/public/neocat_hug_heart.png differ
diff --git a/public/posts/first/index.html b/public/posts/first/index.html
deleted file mode 100644
index ed1a01e..0000000
--- a/public/posts/first/index.html
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
-
- First | Vi's Corner
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Violette's cozy corner
-
-
-
-
-
-
-
- First
-
-
-
-
-
- So yeah this is a post
-hey hey
-
-
-
-
-
-
-
-
diff --git a/public/posts/index.html b/public/posts/index.html
deleted file mode 100644
index cea6d1a..0000000
--- a/public/posts/index.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
-
-
- Posts | Vi's Corner
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Violette's cozy corner
-
-
-
-
-
-
-
- Posts
-
-
-
- So yeah this is a post hey hey
-
-
-
-
-
-
diff --git a/public/posts/index.xml b/public/posts/index.xml
deleted file mode 100644
index f59cb62..0000000
--- a/public/posts/index.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- Posts on Violette's cozy corner
- https://bigblase.xyz/posts/
- Recent content in Posts on Violette's cozy corner
- Hugo -- gohugo.io
- en-us
- Thu, 11 Jan 2024 17:48:10 -0500
-
- -
- First
- https://bigblase.xyz/posts/first/
- Thu, 11 Jan 2024 17:48:10 -0500
- https://bigblase.xyz/posts/first/
- So yeah this is a post hey hey
-
-
-
diff --git a/public/sitemap.xml b/public/sitemap.xml
index 6459284..2d92464 100644
--- a/public/sitemap.xml
+++ b/public/sitemap.xml
@@ -1,18 +1,14 @@
-
-
- https://bigblase.xyz/posts/first/
- 2024-01-11T17:48:10-05:00
-
- https://bigblase.xyz/posts/
- 2024-01-11T17:48:10-05:00
-
- https://bigblase.xyz/
- 2024-01-11T17:48:10-05:00
-
- https://bigblase.xyz/categories/
-
- https://bigblase.xyz/tags/
-
-
+
+
+
+ https://bigblase.xyz/fr/sitemap.xml
+
+
+
+
+ https://bigblase.xyz/en/sitemap.xml
+
+
+
+
diff --git a/public/tags/index.html b/public/tags/index.html
deleted file mode 100644
index a02f5bb..0000000
--- a/public/tags/index.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
-
-
-
- Tags | Vi's Corner
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Violette's cozy corner
-
-
-
-
-
-
-
- Tags
-
-
-
-
-
-
-
diff --git a/themes/violette/assets/css/main.css b/themes/violette/assets/css/main.css
index 71a0c1a..10b5388 100644
--- a/themes/violette/assets/css/main.css
+++ b/themes/violette/assets/css/main.css
@@ -6,7 +6,7 @@
--text-pink-dark: #ed61e1;
--text-mauve-dark: #c282e0;
- --text-pink-light: #ed61e1;
+ --text-pink-light: #9d5191;
--text-mauve-light: #c282e0;
--text-pink: blue;
@@ -17,7 +17,7 @@
:root {
--bg:black;
--text:white;
- --text-pink: var(--text-pink-dark);
+ --text-pink: var(--text-pink-light);
--text-mauve: var(--text-mauve-dark);
}
diff --git a/themes/violette/hugo.toml b/themes/violette/hugo.toml
deleted file mode 100644
index 890e58d..0000000
--- a/themes/violette/hugo.toml
+++ /dev/null
@@ -1,23 +0,0 @@
-baseURL = 'https://example.org/'
-languageCode = 'en-us'
-title = 'My New Hugo Site'
-
-[[menus.main]]
-name = 'Home'
-pageRef = '/'
-weight = 10
-
-[[menus.main]]
-name = 'Posts'
-pageRef = '/posts'
-weight = 20
-
-[[menus.main]]
-name = 'Tags'
-pageRef = '/tags'
-weight = 30
-
-[module]
- [module.hugoVersion]
- extended = false
- min = "0.116.0"
diff --git a/themes/violette/hugo.tomlBck b/themes/violette/hugo.tomlBck
new file mode 100644
index 0000000..f501d90
--- /dev/null
+++ b/themes/violette/hugo.tomlBck
@@ -0,0 +1,23 @@
+baseURL = 'https://bigblase.xyz'
+title = "Violette's cozy corner"
+theme = "violette"
+
+defaultContentLanguage = 'en'
+defaultContentLanguageInSubdir = true
+[languages]
+ [languages.fr]
+ contentDir = 'content/fr'
+ disabled = false
+ languageCode = 'fr-FR'
+ languageDirection = 'ltr'
+ languageName = 'Français'
+ title = 'Le Coin de Violette'
+ weight = 1
+ [languages.en]
+ contentDir = 'content/en'
+ disabled = false
+ languageCode = 'en-US'
+ languageDirection = 'ltr'
+ languageName = 'English'
+ title = "Violette's cozy corner"
+ weight = 2
diff --git a/themes/violette/layouts/partials/footer.html b/themes/violette/layouts/partials/footer.html
index 2045604..64dea59 100644
--- a/themes/violette/layouts/partials/footer.html
+++ b/themes/violette/layouts/partials/footer.html
@@ -1,4 +1,4 @@
diff --git a/themes/violette/layouts/partials/head.html b/themes/violette/layouts/partials/head.html
index ed13533..df69150 100644
--- a/themes/violette/layouts/partials/head.html
+++ b/themes/violette/layouts/partials/head.html
@@ -2,9 +2,9 @@
{{ if .IsHome }}
- Vi's corner
+ {{ .Title }}
{{ else }}
- {{ printf "%s | " .Title }}Vi's Corner
+ {{ printf "%s | " .Title }}
{{ end }}
diff --git a/themes/violette/layouts/partials/menu.html b/themes/violette/layouts/partials/menu.html
index 270dd15..19ad9bf 100644
--- a/themes/violette/layouts/partials/menu.html
+++ b/themes/violette/layouts/partials/menu.html
@@ -21,7 +21,8 @@ Renders a menu for the given menu ID.
{{- define "partials/inline/menu/walk.html" }}
{{- $page := .page }}
{{- range .menuEntries }}
- {{- $attrs := dict "href" .URL }}
+ {{- $href := relLangURL .URL }}
+ {{- $attrs := dict "href" $href }}
{{- if $page.IsMenuCurrent .Menu . }}
{{- $attrs = merge $attrs (dict "class" "active" "aria-current" "page") }}
{{- else if $page.HasMenuCurrent .Menu .}}
@@ -50,7 +51,12 @@ Renders a menu for the given menu ID.
{{- end }}
- {{- partial "partials/darkModeToggle.html" }}
+
+
+
+
+ {{ i18n "language" }}
+
{{- end }}