diff --git a/config.yaml b/config.yaml
index 733eba1..873de3c 100644
--- a/config.yaml
+++ b/config.yaml
@@ -2,3 +2,10 @@ baseURL: "https://antoinemartin.fr/"
title: 'Antoine Martin - Computer Person'
theme: 'custom'
enableRobotsTXT: true
+
+defaultContentLanguage: en
+languages:
+ en:
+ languageCode: en
+ fr:
+ languageCode: fr
diff --git a/content/_index.en.md b/content/_index.en.md
new file mode 100644
index 0000000..3dfa7db
--- /dev/null
+++ b/content/_index.en.md
@@ -0,0 +1,3 @@
+# Antoine Martin
+
+Aspiring computer scientist.
diff --git a/content/_index.fr.md b/content/_index.fr.md
new file mode 100644
index 0000000..9ba6851
--- /dev/null
+++ b/content/_index.fr.md
@@ -0,0 +1,3 @@
+# Antoine Martin
+
+Informaticien en devenir.
diff --git a/content/_index.md b/content/_index.md
deleted file mode 100644
index 5dfec6d..0000000
--- a/content/_index.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Antoine Martin
-
-Computer Scientist in training.
-
-WIP.
diff --git a/themes/custom/assets/sass/main.scss b/themes/custom/assets/sass/main.scss
index dc527b0..7eab31b 100644
--- a/themes/custom/assets/sass/main.scss
+++ b/themes/custom/assets/sass/main.scss
@@ -43,10 +43,6 @@ small{
font-size: 0.4em;
}
-p.st{
- margin-top: -1em;
-}
-
ul{
li{
img{
@@ -55,6 +51,11 @@ ul{
}
}
+footer {
+ margin-top: 4em;
+ font-size: 12px;
+}
+
@media screen and (max-width: 500px) {
body{
text-align: left;
diff --git a/themes/custom/i18n/en.yaml b/themes/custom/i18n/en.yaml
new file mode 100644
index 0000000..3c8a4f2
--- /dev/null
+++ b/themes/custom/i18n/en.yaml
@@ -0,0 +1,5 @@
+translation-available:
+ other: "A french translation of this page is available"
+
+here:
+ other: here
diff --git a/themes/custom/i18n/fr.yaml b/themes/custom/i18n/fr.yaml
new file mode 100644
index 0000000..9be3133
--- /dev/null
+++ b/themes/custom/i18n/fr.yaml
@@ -0,0 +1,5 @@
+translation-available:
+ other: "Une traduction en anglais de cette page est disponible"
+
+here:
+ other: ici
diff --git a/themes/custom/layouts/partials/footer.html b/themes/custom/layouts/partials/footer.html
index e69de29..288fe6d 100644
--- a/themes/custom/layouts/partials/footer.html
+++ b/themes/custom/layouts/partials/footer.html
@@ -0,0 +1,3 @@
+
diff --git a/themes/custom/layouts/partials/translation-available.html b/themes/custom/layouts/partials/translation-available.html
new file mode 100644
index 0000000..632fcce
--- /dev/null
+++ b/themes/custom/layouts/partials/translation-available.html
@@ -0,0 +1,5 @@
+{{ if .IsTranslated }}
+ {{ range .Translations }}
+ {{ i18n "translation-available" }} {{ i18n "here" }}
+ {{ end }}
+{{ end }}