From 782e9aa14a343c42bb1a8e0d3b4b35e8e4fb8d80 Mon Sep 17 00:00:00 2001 From: Stephane Philippart Date: Mon, 13 Feb 2023 13:38:54 +0100 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20=F0=9F=97=A3=EF=B8=8F=20Multi=20lan?= =?UTF-8?q?guages=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _data/data-fr.yml | 220 +++++++++++++++++++++++++++++++ _includes/career-profile.html | 2 +- _includes/education.html | 4 +- _includes/experiences.html | 2 +- _includes/footer.html | 2 +- _includes/index-common.html | 16 +++ _includes/interests.html | 2 +- _includes/language.html | 2 +- _includes/oss-contributions.html | 2 +- _includes/projects.html | 2 +- _includes/publications.html | 2 +- _includes/sidebar.html | 2 +- _includes/skills.html | 2 +- _layouts/default-fr.html | 25 ++++ _layouts/default.html | 1 + index-fr.html | 6 + index.html | 17 +-- 17 files changed, 282 insertions(+), 27 deletions(-) create mode 100644 _data/data-fr.yml create mode 100644 _includes/index-common.html create mode 100644 _layouts/default-fr.html create mode 100644 index-fr.html diff --git a/_data/data-fr.yml b/_data/data-fr.yml new file mode 100644 index 00000000000..7f24376ad91 --- /dev/null +++ b/_data/data-fr.yml @@ -0,0 +1,220 @@ +# +# Be aware that even a small syntax error here can lead to failures in output. +# + +sidebar: + about: True # set to False or comment line if you want to remove the "how to use?" in the sidebar + education: False # set to False if you want education in main section instead of in sidebar + + # Profile information + name: Alan Doe + tagline: Full Stack Developer + avatar: profile.png #place a 100x100 picture inside /assets/images/ folder and provide the name of the file below + + # Sidebar links + email: hello@webjeda.com + phone: +33 1 23 45 67 89 + timezone: Etats Unis/Cancun Timezone + citizenship: + website: blog.webjeda.com #do not add http:// + linkedin: alandoe + xing: alandoe + github: sharu725 + telegram: # add your nickname without '@' sign + gitlab: + bitbucket: + twitter: '@webjeda' + stack-overflow: # Number/Username, e.g. 123456/alandoe + codewars: + goodreads: # Number-Username, e.g. 123456-alandoe + pdf: http://www.africau.edu/images/default/sample.pdf + + languages: + title: Langues + info: + - idiom: Anglais + level: Natif + + - idiom: Français + level: Professionnel + + - idiom: Espagnole + level: Professionnel + + interests: + title: Centres d'intérêts + info: + - item: Escalade + link: + + - item: Snowboarding + link: + + - item: Cuisine + link: + +career-profile: + title: A propos + summary: | + Expliquez en quelques mots votre parcours here lorem ipsum dolor sit amet, consectetuer + adipiscing elit. You can [download this free resume/CV template here](). + Aenean commodo ligula eget dolor aenean massa. Cum sociis natoque + penatibus et magnis dis parturient montes, nascetur ridiculus mus. + Donec quam felis, ultricies nec, pellentesque eu. + Second paragraph if required. +education: + title: Formation + info: + - degree: MSc en informatique + university: Université de Londres + time: 2011 - 2012 + details: | + Indiquez ici vos études lorem ipsum dolor sit amet, consectetuer + adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum + sociis natoque penatibus et magnis dis parturient montes, nascetur + ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, + pretium quis, sem. + - élément de liste à puces + - élément de liste à puces + - degree: BSc en mathématiques appliquées + university: Université de Bristol + time: 2007 - 2011 + details: | + Indiquez ici vos études here lorem ipsum dolor sit amet, consectetuer + adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum + sociis natoque penatibus et magnis dis parturient montes, nascetur + ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, + pretium quis, sem. + - élément de liste à puces + - élément de liste à puces +experiences: + title: Experiences professionnelles + info: + - role: Lead Developer + time: 2015 - Aujourd’hui + company: Startup Hubs, San Francisco + details: | + Décrire ici votre rôle lorem ipsum dolor sit amet, consectetuer + adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. + Cum sociis natoque penatibus et magnis dis parturient montes, + nascetur ridiculus mus. Donec quam felis, ultricies nec, + pellentesque eu, pretium quis, sem. Nulla consequat massa quis + enim. Donec pede justo. Sed ut perspiciatis unde omnis iste natus + error sit voluptatem accusantium doloremque laudantium, totam rem + aperiam, eaque ipsa quae ab illo inventore veritatis et quasi + architecto beatae vitae dicta sunt explicabo. + - élément de liste à puces + - élément de liste à puces + - role: Ingénieur logiciel sénior + time: 2014 - 2015 + company: Google, Londres + details: | + Décrire ici votre rôle lorem ipsum dolor sit amet, consectetuer + adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. + Cum sociis natoque penatibus et magnis dis parturient montes, + nascetur ridiculus mus. Donec quam felis, ultricies nec, + pellentesque eu, pretium quis, sem. + - élément de liste à puces + - élément de liste à puces + - role: UI Developpeur + time: 2012 - 2014 + company: Amazon, Londres + details: | + Décrire ici votre rôle lorem ipsum dolor sit amet, consectetuer + adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. + Cum sociis natoque penatibus et magnis dis parturient montes, + nascetur ridiculus mus. Donec quam felis, ultricies nec, + pellentesque eu, pretium quis, sem. + - élément de liste à puces + - élément de liste à puces +projects: + title: Projets personnels + intro: > + Vous pouvez lister vos side projects ici. Lorem ipsum dolor sit amet, consectetur adipiscing elit. + Vestibulum et ligula in nunc bibendum fringilla a eu lectus. + assignments: + - title: Velocity + link: "#hook" + tagline: "Un site web responsive pour aider les startups pour leur publicité, marché et la vente de leurs produits." + + - title: DevStudio + link: "#" + tagline: "Un site web responsive pour aider les développeurs web ou les designers à vender leurs services." + + - title: Tempo + link: "#" + tagline: "Un template de site web responsive pour aider les startups à fair la promotion de leurs produits ou services ainsi que pour attirer les investisseurs." + + - title: Atom + link: "#" + tagline: "Un template complet de site web pour les startups et les développeurs pour vendre leurs applications mobiles." + + - title: Delta + link: "#" + tagline: "Un thème Boostrap responsive en mode une seule page pour aider les développeurs à vendre leurs applications." + +oss: + title: Contrbutions Open Source + intro: > + Vous pouvez lister ici vos contributions open source dans cette section. + Lorem ipsum dolor sit amet, consectetur adipiscing elit. + Vestibulum et ligula in nunc bibendum fringilla a eu lectus. + contributions: + - title: Tempo + link: "#" + tagline: "Un template de site web responsive pour aider les startups à fair la promotion de leurs produits ou services ainsi que pour attirer les investisseurs." + + - title: Atom + link: "#" + tagline: "Un template complet de site web pour les startups et les développeurs pour vendre leurs applications mobiles." + + - title: Delta + link: "#" + tagline: "Un thème Boostrap responsive en mode une seule page pour aider les développeurs à vendre leurs applications." + +publications: + title: Publications + intro: | + Vous pouvez lister ici vos publication. Lorem ipsum dolor sit + amet, consectetur adipiscing elit. Vestibulum et ligula in nunc + bibendum fringilla a eu lectus. + papers: + - title: L'art de développer un logiciel + link: "#" + authors: Donald E. Knuth + conference: Addison-Wesley, 1968 + + - title: "Programmation générique III: Invention darwinienne & Résolution de problèmes" + link: "#" + authors: Koza, J.R., Andre, D., Bennett, F.H., Keane, M.A. + conference: "Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1st edn. (1999)" + + - title: Compilateur orienté syntaxe pour Algol 60 + link: "#" + authors: Edgar T. Irons + conference: "Comm. ACM 4 (1961), 51–55" + +skills: + title: Compétences & Aptitudes + + toolset: + - name: Python & Django + level: 98% + + - name: Javascript & jQuery + level: 98% + + - name: Angular + level: 98% + + - name: HTML5 & CSS + level: 95% + + - name: Ruby on Rails + level: 85% + + - name: Sketch & Photoshop + level: 60% + +footer: > + Designed with by Xiaoying Riley diff --git a/_includes/career-profile.html b/_includes/career-profile.html index 6039bba67f5..cff9f6f76c3 100644 --- a/_includes/career-profile.html +++ b/_includes/career-profile.html @@ -1,4 +1,4 @@ -{% assign career-profile = site.data.data.career-profile %} +{% assign career-profile = data.career-profile %} {% if career-profile %}
diff --git a/_includes/education.html b/_includes/education.html index fedc3413f92..a8036ccaf84 100644 --- a/_includes/education.html +++ b/_includes/education.html @@ -1,6 +1,6 @@ -{% assign education = site.data.data.education %} +{% assign education = data.education %} {% if education %} - {% if site.data.data.sidebar.education %} + {% if data.sidebar.education %}

diff --git a/_includes/experiences.html b/_includes/experiences.html index 084cd223876..f8333df6e8e 100644 --- a/_includes/experiences.html +++ b/_includes/experiences.html @@ -1,4 +1,4 @@ -{% assign experiences = site.data.data.experiences %} +{% assign experiences = data.experiences %} {% if experiences %}

diff --git a/_includes/footer.html b/_includes/footer.html index d78cf526eb5..efa8de110c3 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,6 +1,6 @@
- {{ site.data.data.footer }} + {{ data.footer }}
diff --git a/_includes/index-common.html b/_includes/index-common.html new file mode 100644 index 00000000000..77893974530 --- /dev/null +++ b/_includes/index-common.html @@ -0,0 +1,16 @@ +{% include career-profile.html %} + + +{% unless data.sidebar.education %} + {% include education.html %} +{% endunless %} + +{% include experiences.html %} + +{% include projects.html %} + +{% include oss-contributions.html %} + +{% include publications.html %} + +{% include skills.html %} diff --git a/_includes/interests.html b/_includes/interests.html index 9fe665230e1..dd495cbbdff 100644 --- a/_includes/interests.html +++ b/_includes/interests.html @@ -1,4 +1,4 @@ -{% assign interests = site.data.data.sidebar.interests %} +{% assign interests = data.sidebar.interests %} {% if interests %}
diff --git a/_includes/language.html b/_includes/language.html index c13a76ff3be..174af158ee6 100644 --- a/_includes/language.html +++ b/_includes/language.html @@ -1,4 +1,4 @@ -{% assign languages = site.data.data.sidebar.languages %} +{% assign languages = data.sidebar.languages %} {% if languages %}
diff --git a/_includes/oss-contributions.html b/_includes/oss-contributions.html index f3693e06c8e..dafc47ede5b 100644 --- a/_includes/oss-contributions.html +++ b/_includes/oss-contributions.html @@ -1,4 +1,4 @@ -{% assign oss = site.data.data.oss %} +{% assign oss = data.oss %} {% if oss %}

diff --git a/_includes/projects.html b/_includes/projects.html index c50783ce8f8..ce216bb0fe0 100644 --- a/_includes/projects.html +++ b/_includes/projects.html @@ -1,4 +1,4 @@ -{% assign projects = site.data.data.projects %} +{% assign projects = data.projects %} {% if projects %}
diff --git a/_includes/publications.html b/_includes/publications.html index e1f39ade7ec..f8131c68459 100644 --- a/_includes/publications.html +++ b/_includes/publications.html @@ -1,4 +1,4 @@ -{% assign publications = site.data.data.publications %} +{% assign publications = data.publications %} {% if publications %}
diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 90e21fbf347..9b93ab9a03e 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -1,4 +1,4 @@ -{% assign sidebar = site.data.data.sidebar %} +{% assign sidebar = data.sidebar %}