From e9af2f70d25d89cd5565a89d7332fe6edc951f5c Mon Sep 17 00:00:00 2001 From: Hugo Martin Date: Tue, 4 Aug 2020 22:50:11 +0200 Subject: [PATCH] Using yaml in data to organize home summary --- exampleSite/data/en/home.yaml | 6 ++++++ exampleSite/data/fr/home.yaml | 6 ++++++ i18n/en.toml | 3 --- i18n/fr.toml | 3 --- layouts/partials/navigators/navbar.html | 4 ++-- layouts/partials/sections/home.html | 4 ++-- 6 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 exampleSite/data/en/home.yaml create mode 100644 exampleSite/data/fr/home.yaml diff --git a/exampleSite/data/en/home.yaml b/exampleSite/data/en/home.yaml new file mode 100644 index 0000000..d6edb58 --- /dev/null +++ b/exampleSite/data/en/home.yaml @@ -0,0 +1,6 @@ +summary: + - I am a Developer + - I am a Devops + - I love servers + - I work on open-source projects + - I love to work with some fun projects" \ No newline at end of file diff --git a/exampleSite/data/fr/home.yaml b/exampleSite/data/fr/home.yaml new file mode 100644 index 0000000..5c2b116 --- /dev/null +++ b/exampleSite/data/fr/home.yaml @@ -0,0 +1,6 @@ +summary: + - Je suis un développeur + - Je suis un Devops + - J'aime les serveurs + - Je travaille sur des projets open-source + - J'aime travailler avec des projets amusants \ No newline at end of file diff --git a/i18n/en.toml b/i18n/en.toml index 8f6699b..658fec3 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -8,9 +8,6 @@ other = "Home" [resume] other = "My resume" -[quotes] -other = "I am a Developer;I am a Devops;I love servers;I work on open-source projects;I love to work with some fun projects" # Split each quote with a ';' - [navigation] other = "Navigation" diff --git a/i18n/fr.toml b/i18n/fr.toml index 9168c25..7b6bb7a 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -8,9 +8,6 @@ other = "Accueil" [resume] other = "Mon Curriculum vitæ" -[quotes] -other = "Je bidouille;Bref je code" # Split each quote with a ';' - [navigation] other = "Naviguation" diff --git a/layouts/partials/navigators/navbar.html b/layouts/partials/navigators/navbar.html index dd51899..d72fc74 100644 --- a/layouts/partials/navigators/navbar.html +++ b/layouts/partials/navigators/navbar.html @@ -58,13 +58,13 @@