diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index d2e9536..0af1746 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -12,7 +12,7 @@ languages: fr: languageName: Français weight: 2 -# Force a locale to be use, really usefull to develop the application ! Should be commented in production, the "weight" should rocks. +# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks. #DefaultContentLanguage: fr # Allow raw html in markdown file @@ -33,8 +33,8 @@ disqusShortname: does-not-exist # Enable global emoji support enableEmoji: true -# Custom parameters +# Custom parameters params: # Copyright Notice copyright: © 2020 Copyright. @@ -49,9 +49,9 @@ params: # transparent navbar and the main logo will be used in the non-transparent navbar. # It will be default to the theme logos if not provided. logo: - main: /assets/images/main-logo.png - inverted: /assets/images/inverted-logo.png - favicon: /assets/images/favicon.png + main: assets/images/main-logo.png + inverted: assets/images/inverted-logo.png + favicon: assets/images/favicon.png # GitHub repo URL of your site gitRepo: https://github.com/hossainemruz/toha-example-site diff --git a/exampleSite/data/en/author.yaml b/exampleSite/data/en/author.yaml index 36e4dcb..e66511e 100644 --- a/exampleSite/data/en/author.yaml +++ b/exampleSite/data/en/author.yaml @@ -13,4 +13,4 @@ summary: - I am a Devops - I love servers - I work on open-source projects - - I love to work with some fun projects" + - I love to work with some fun projects diff --git a/exampleSite/data/fr/sections/about.yaml b/exampleSite/data/fr/sections/about.yaml index b098f44..0fc0f7d 100644 --- a/exampleSite/data/fr/sections/about.yaml +++ b/exampleSite/data/fr/sections/about.yaml @@ -14,7 +14,7 @@ company: url: "https://www.example.com" # your resume. this file path should be relative to you "static" directory -resume: "/files/resume.pdf" +resume: "files/resume.pdf" # a summary about you summary: "Je suis un ingénieur en logiciel passionné, avec x années d'expérience professionnelle. J'ai construit des outils OSS pour [Kubernetes](https://kubernetes.io/) en utilisant GO. Mes outils aident les gens à déployer leurs charges de travail dans Kubernetes. Parfois, je travaille sur des projets amusants comme l'écriture d'un thème, etc." diff --git a/exampleSite/data/fr/sections/achievements.yaml b/exampleSite/data/fr/sections/achievements.yaml index a74e184..baec23f 100644 --- a/exampleSite/data/fr/sections/achievements.yaml +++ b/exampleSite/data/fr/sections/achievements.yaml @@ -11,14 +11,14 @@ section: # Your achievements achievements achievements: - title: Meilleur présentateur - image: /images/achievements/presenter.jpg + image: images/achievements/presenter.jpg summary: Meilleur présentateur de la conférence XYZ 2020. - title: Champion - image: /images/achievements/sport.jpg + image: images/achievements/sport.jpg summary: Champion du championnat cycliste interurbain 2020. - title: Remise des diplômes - image: /images/achievements/graduation-cap.jpg + image: images/achievements/graduation-cap.jpg summary: J'ai obtenu une licence en sciences (B.Sc.) en informatique et en ingénierie à l'université XYZ. - title: Lauréat du prix - image: /images/achievements/woman-winner.jpg + image: images/achievements/woman-winner.jpg summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? diff --git a/exampleSite/data/fr/sections/skills.yaml b/exampleSite/data/fr/sections/skills.yaml index 7a64c58..60b6fbe 100644 --- a/exampleSite/data/fr/sections/skills.yaml +++ b/exampleSite/data/fr/sections/skills.yaml @@ -12,38 +12,38 @@ section: # Give a summary of you each skill in the summary section. skills: - name: Kubernetes - icon: "/images/skills/kubernetes.png" + icon: "images/skills/kubernetes.png" summary: "Capable de déployer, de gérer l'application sur Kubernetes. Expérimenté dans la rédaction de contrôleurs Kubernetes pour les CRD." url: "https://kubernetes.io/" - name: Go - icon: "/images/skills/go.png" + icon: "images/skills/go.png" summary: "Utiliser comme langue principale pour le développement professionnel. Capable d'écrire des programmes évolutifs, testables et maintenables." url: "https://golang.org/" - name: Cloud Computing - icon: "/images/skills/cloud.png" + icon: "images/skills/cloud.png" summary: "A travaillé avec la plupart des principaux nuages tels que GCP, AWS, Azure, etc." - name: Docker - icon: "/images/skills/docker.svg" + icon: "images/skills/docker.svg" summary: "Inscrivez la plupart des programmes en tant que conteneur déchargé. Expérimenté dans le processus de construction en plusieurs étapes et en plusieurs arcs." url: "https://www.docker.com/" - name: Prometheus - icon: "/images/skills/prometheus.png" + icon: "images/skills/prometheus.png" summary: "Capable d'installation, de configurer les métriques de Prometheus. Expérimenté avec PromQL, AlertManager. Expérimenté également dans la rédaction d'exportateurs de métriques." url: "https://prometheus.io/" - name: Linux - icon: "/images/skills/linux.png" + icon: "images/skills/linux.png" summary: "Utilisé comme système d'exploitation principal. Capable d'écrire des scripts bash/shell." - name: Git - icon: "/images/skills/git.png" + icon: "images/skills/git.png" summary: "Expérimenté dans le développement basé sur les GIT. Surtout, utilisez Github. Avoir également une expérience de travail avec GitLab." url: "https://git-scm.com/" - name: C++ - icon: "/images/skills/c++.png" + icon: "images/skills/c++.png" summary: "Connaître les bases de la programmation C/C++. Utilisé pour la programmation de concours et la résolution de problèmes." diff --git a/layouts/_default/list.html b/layouts/_default/list.html index d2c0bf8..9c188b4 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -8,13 +8,18 @@ {{ end }} {{ define "sidebar" }} + {{ $blogHome:="#" }} + {{ if site.IsMultiLingual }} + {{ $blogHome = (path.Join (cond ( eq .Language.Lang "en") "" .Language.Lang) "post") }} + {{ end }} +