From 24da9d9e1d34bc3522284e4014cb67f12f7c2563 Mon Sep 17 00:00:00 2001 From: Boris Bera Date: Mon, 6 May 2019 13:44:27 -0400 Subject: [PATCH] Fix all images to use the /en/ path --- exampleSite/content/basics/installation/_index.en.md | 2 +- exampleSite/content/basics/installation/_index.fr.md | 2 +- exampleSite/content/basics/requirements/_index.en.md | 2 +- exampleSite/content/basics/requirements/_index.fr.md | 2 +- exampleSite/content/basics/style-customization/_index.en.md | 6 +++--- exampleSite/content/basics/style-customization/_index.fr.md | 6 +++--- exampleSite/content/cont/i18n/_index.en.md | 4 ++-- exampleSite/content/cont/i18n/_index.fr.md | 4 ++-- exampleSite/content/cont/pages/_index.en.md | 6 +++--- exampleSite/content/cont/pages/_index.fr.md | 6 +++--- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/exampleSite/content/basics/installation/_index.en.md b/exampleSite/content/basics/installation/_index.en.md index e46afd3e76..7fe5254934 100644 --- a/exampleSite/content/basics/installation/_index.en.md +++ b/exampleSite/content/basics/installation/_index.en.md @@ -48,7 +48,7 @@ Discover what this Hugo theme is all about and the core concepts behind it. renders as -![A Chapter](/basics/installation/images/chapter.png?classes=shadow&width=60pc) +![A Chapter](/en/basics/installation/images/chapter.png?classes=shadow&width=60pc) **Hugo-theme-learn** provides archetypes to create skeletons for your website. Begin by creating your first chapter page with the following command diff --git a/exampleSite/content/basics/installation/_index.fr.md b/exampleSite/content/basics/installation/_index.fr.md index 1d483c5d23..268d0c3cec 100644 --- a/exampleSite/content/basics/installation/_index.fr.md +++ b/exampleSite/content/basics/installation/_index.fr.md @@ -48,7 +48,7 @@ Découvrez comment utiliser ce thème Hugo et apprenez en les concepts s'affiche comme -![Un chapitre](/basics/installation/images/chapter.png?classes=shadow&width=60pc) +![Un chapitre](/en/basics/installation/images/chapter.png?classes=shadow&width=60pc) **Hugo-theme-learn** fournit des archétypes pour créer des squelettes pour votre site. Commencez par créer votre premier chapitre avec la commande suivante: diff --git a/exampleSite/content/basics/requirements/_index.en.md b/exampleSite/content/basics/requirements/_index.en.md index b6d5b38507..2b3f51d930 100755 --- a/exampleSite/content/basics/requirements/_index.en.md +++ b/exampleSite/content/basics/requirements/_index.en.md @@ -8,4 +8,4 @@ Thanks to the simplicity of Hugo, this page is as empty as this theme needs requ Just download latest version of [Hugo binary (> 0.25)](https://gohugo.io/getting-started/installing/) for your OS (Windows, Linux, Mac) : it's that simple. -![Magic](/basics/requirements/images/magic.gif?classes=shadow) +![Magic](/en/basics/requirements/images/magic.gif?classes=shadow) diff --git a/exampleSite/content/basics/requirements/_index.fr.md b/exampleSite/content/basics/requirements/_index.fr.md index 6e07374002..ae70caea52 100755 --- a/exampleSite/content/basics/requirements/_index.fr.md +++ b/exampleSite/content/basics/requirements/_index.fr.md @@ -8,4 +8,4 @@ Grâce à la simplicité d'Hugo, cette page est vide car il n'y a quasi pas de p Téléchargez la dernière version du [binaire Hugo (> 0.25)](https://gohugo.io/getting-started/installing/) pour votre Système d'exploitation (Windows, Linux, Mac) : et c'est tout ! -![Magic](/basics/requirements/images/magic.gif?classes=shadow) +![Magic](/en/basics/requirements/images/magic.gif?classes=shadow) diff --git a/exampleSite/content/basics/style-customization/_index.en.md b/exampleSite/content/basics/style-customization/_index.en.md index 1792f7241f..c6920c5d44 100644 --- a/exampleSite/content/basics/style-customization/_index.en.md +++ b/exampleSite/content/basics/style-customization/_index.en.md @@ -53,7 +53,7 @@ If you need to change this default behavior, create a new file in `layouts/parti themeVariant = "red" ``` -![Red variant](/basics/style-customization/images/red-variant.png?width=60pc) +![Red variant](/en/basics/style-customization/images/red-variant.png?width=60pc) ### Blue variant @@ -63,7 +63,7 @@ If you need to change this default behavior, create a new file in `layouts/parti themeVariant = "blue" ``` -![Blue variant](/basics/style-customization/images/blue-variant.png?width=60pc) +![Blue variant](/en/basics/style-customization/images/blue-variant.png?width=60pc) ### Green variant @@ -73,7 +73,7 @@ If you need to change this default behavior, create a new file in `layouts/parti themeVariant = "green" ``` -![Green variant](/basics/style-customization/images/green-variant.png?width=60pc) +![Green variant](/en/basics/style-customization/images/green-variant.png?width=60pc) ### 'Yours‘ variant diff --git a/exampleSite/content/basics/style-customization/_index.fr.md b/exampleSite/content/basics/style-customization/_index.fr.md index cbddca99eb..6daab9e844 100644 --- a/exampleSite/content/basics/style-customization/_index.fr.md +++ b/exampleSite/content/basics/style-customization/_index.fr.md @@ -53,7 +53,7 @@ Si vous avez besoin de changer ce comportement par défaut, créer un nouveau fi themeVariant = "red" ``` -![Variante rouge](/basics/style-customization/images/red-variant.png?width=60pc) +![Variante rouge](/en/basics/style-customization/images/red-variant.png?width=60pc) ### Variante bleue @@ -63,7 +63,7 @@ Si vous avez besoin de changer ce comportement par défaut, créer un nouveau fi themeVariant = "blue" ``` -![Variante bleue](/basics/style-customization/images/blue-variant.png?width=60pc) +![Variante bleue](/en/basics/style-customization/images/blue-variant.png?width=60pc) ### Variante verte @@ -73,7 +73,7 @@ Si vous avez besoin de changer ce comportement par défaut, créer un nouveau fi themeVariant = "green" ``` -![Variante verte](/basics/style-customization/images/green-variant.png?width=60pc) +![Variante verte](/en/basics/style-customization/images/green-variant.png?width=60pc) ### Votre variante diff --git a/exampleSite/content/cont/i18n/_index.en.md b/exampleSite/content/cont/i18n/_index.en.md index f53d8904d4..c35327582b 100644 --- a/exampleSite/content/cont/i18n/_index.en.md +++ b/exampleSite/content/cont/i18n/_index.en.md @@ -12,7 +12,7 @@ It provides: - Automatic menu generation from multilingual content - In-browser language switching -![I18n menu](/cont/i18n/images/i18n-menu.gif) +![I18n menu](/en/cont/i18n/images/i18n-menu.gif) ## Basic configuration @@ -75,4 +75,4 @@ Just set `disableLanguageSwitchingButton=true` in your `config.toml` disableLanguageSwitchingButton = true ``` -![I18n menu](/cont/i18n/images/i18n-menu.gif) \ No newline at end of file +![I18n menu](/en/cont/i18n/images/i18n-menu.gif) \ No newline at end of file diff --git a/exampleSite/content/cont/i18n/_index.fr.md b/exampleSite/content/cont/i18n/_index.fr.md index 569f67ece7..6503abf4cd 100644 --- a/exampleSite/content/cont/i18n/_index.fr.md +++ b/exampleSite/content/cont/i18n/_index.fr.md @@ -12,7 +12,7 @@ Il fournit : - Génération automatique du menu avec le contenu multi-langue - Modification de la langue dans le navigateur -![I18n menu](/cont/i18n/images/i18n-menu.gif) +![I18n menu](/en/cont/i18n/images/i18n-menu.gif) ## Configuration simple @@ -75,4 +75,4 @@ Pour ce faire, ajouter le paramètre `disableLanguageSwitchingButton=true` dans disableLanguageSwitchingButton = true ``` -![I18n menu](/cont/i18n/images/i18n-menu.gif) \ No newline at end of file +![I18n menu](/en/cont/i18n/images/i18n-menu.gif) \ No newline at end of file diff --git a/exampleSite/content/cont/pages/_index.en.md b/exampleSite/content/cont/pages/_index.en.md index 0c94952ef8..ad6a1b5a81 100644 --- a/exampleSite/content/cont/pages/_index.en.md +++ b/exampleSite/content/cont/pages/_index.en.md @@ -45,7 +45,7 @@ Organize your site like [any other Hugo project](https://gohugo.io/content/organ A **Chapter** displays a page meant to be used as introduction for a set of child pages. Commonly, it contains a simple title and a catch line to define content that can be found under it. You can define any HTML as prefix for the menu. In the example below, it's just a number but that could be an [icon](https://fortawesome.github.io/Font-Awesome/). -![Chapter page](/cont/pages/images/pages-chapter.png?width=50pc) +![Chapter page](/en/cont/pages/images/pages-chapter.png?width=50pc) ```markdown +++ @@ -66,7 +66,7 @@ To tell **Hugo-theme-learn** to consider a page as a chapter, set `chapter=true` A **Default** page is any other content page. -![Default page](/cont/pages/images/pages-default.png?width=50pc) +![Default page](/en/cont/pages/images/pages-default.png?width=50pc) ```toml +++ @@ -126,7 +126,7 @@ pre = " " +++ ``` -![Title with icon](/cont/pages/images/frontmatter-icon.png) +![Title with icon](/en/cont/pages/images/frontmatter-icon.png) ### Ordering sibling menu/page entries diff --git a/exampleSite/content/cont/pages/_index.fr.md b/exampleSite/content/cont/pages/_index.fr.md index 0425f72441..9065908aef 100644 --- a/exampleSite/content/cont/pages/_index.fr.md +++ b/exampleSite/content/cont/pages/_index.fr.md @@ -45,7 +45,7 @@ Le fichier `_index.md` est obligatoire dans chaque dossier, c'est en quelques ro Un **Chapitre** affiche une page vouée à être une introduction pour un ensemble de pages filles. Habituellement, il va seulement contenir un titre et un résumé de la section. Vous pouvez définir n'importe quel contenu HTML comme préfixe de l'entrée du menu. Dans l'exemple ci-dessous, c'est juste un nombre mais vous pourriez utiliser une [icône](https://fortawesome.github.io/Font-Awesome/). -![Page Chapitre](/cont/pages/images/pages-chapter.png?width=50pc) +![Page Chapitre](/en/cont/pages/images/pages-chapter.png?width=50pc) ```markdown +++ @@ -66,7 +66,7 @@ Pour dire à **Hugo-theme-learn** de considérer la page comme un chapitre, conf Une page **Défaut** est n'importe quelle autre page. -![Page défaut](/cont/pages/images/pages-default.png?width=50pc) +![Page défaut](/en/cont/pages/images/pages-default.png?width=50pc) +++ title = "Installation" @@ -122,7 +122,7 @@ pre = " " +++ ``` -![Titre avec icône](/cont/pages/images/frontmatter-icon.png) +![Titre avec icône](/en/cont/pages/images/frontmatter-icon.png) ### Ordonner les entrées dans le menu