mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
Fix all images to use the /en/ path
This commit is contained in:
parent
98ce8942b4
commit
24da9d9e1d
10 changed files with 20 additions and 20 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
![I18n menu](/en/cont/i18n/images/i18n-menu.gif)
|
|
@ -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)
|
||||
![I18n menu](/en/cont/i18n/images/i18n-menu.gif)
|
|
@ -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 = "<i class='fab fa-github'></i> "
|
|||
+++
|
||||
```
|
||||
|
||||
![Title with icon](/cont/pages/images/frontmatter-icon.png)
|
||||
![Title with icon](/en/cont/pages/images/frontmatter-icon.png)
|
||||
|
||||
### Ordering sibling menu/page entries
|
||||
|
||||
|
|
|
@ -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 = "<i class='fab fa-github'></i> "
|
|||
+++
|
||||
```
|
||||
|
||||
![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
|
||||
|
||||
|
|
Loading…
Reference in a new issue