From 5123fb57a2a12afe27fe30b003c3098b56cef5e2 Mon Sep 17 00:00:00 2001 From: matcornic Date: Mon, 4 Sep 2017 19:06:19 +0200 Subject: [PATCH] fix #62: replaced width in % with 'pc' --- exampleSite/content/basics/configuration/_index.en.md | 6 +++--- exampleSite/content/basics/configuration/_index.fr.md | 6 +++--- exampleSite/content/basics/installation/_index.en.md | 2 +- exampleSite/content/basics/installation/_index.fr.md | 2 +- exampleSite/content/cont/markdown.en.md | 10 +++++----- exampleSite/content/cont/markdown.fr.md | 10 +++++----- exampleSite/content/cont/pages/_index.en.md | 4 ++-- exampleSite/content/cont/pages/_index.fr.md | 4 ++-- exampleSite/content/showcase.en.md | 2 +- exampleSite/content/showcase.fr.md | 2 +- 10 files changed, 24 insertions(+), 24 deletions(-) diff --git a/exampleSite/content/basics/configuration/_index.en.md b/exampleSite/content/basics/configuration/_index.en.md index d4ed0e7b88..065108a4db 100644 --- a/exampleSite/content/basics/configuration/_index.en.md +++ b/exampleSite/content/basics/configuration/_index.en.md @@ -105,7 +105,7 @@ If you need to change this default behavior, create a new file in `layouts/parti themeVariant = "red" ``` -![Red variant](/basics/configuration/images/red-variant.png?width=60%) +![Red variant](/basics/configuration/images/red-variant.png?width=60pc) #### Blue variant @@ -115,7 +115,7 @@ If you need to change this default behavior, create a new file in `layouts/parti themeVariant = "blue" ``` -![Blue variant](/basics/configuration/images/blue-variant.png?width=60%) +![Blue variant](/basics/configuration/images/blue-variant.png?width=60pc) #### Green variant @@ -125,7 +125,7 @@ If you need to change this default behavior, create a new file in `layouts/parti themeVariant = "green" ``` -![Green variant](/basics/configuration/images/green-variant.png?width=60%) +![Green variant](/basics/configuration/images/green-variant.png?width=60pc) #### 'Yours‘ variant diff --git a/exampleSite/content/basics/configuration/_index.fr.md b/exampleSite/content/basics/configuration/_index.fr.md index ab7f4fcf1a..a4b83a1d23 100644 --- a/exampleSite/content/basics/configuration/_index.fr.md +++ b/exampleSite/content/basics/configuration/_index.fr.md @@ -104,7 +104,7 @@ Si vous avez besoin de changer ce comportement par défaut, créer un nouveau fi themeVariant = "red" ``` -![Variante rouge](/basics/configuration/images/red-variant.png?width=60%) +![Variante rouge](/basics/configuration/images/red-variant.png?width=60pc) #### Variante bleue @@ -114,7 +114,7 @@ Si vous avez besoin de changer ce comportement par défaut, créer un nouveau fi themeVariant = "blue" ``` -![Variante bleue](/basics/configuration/images/blue-variant.png?width=60%) +![Variante bleue](/basics/configuration/images/blue-variant.png?width=60pc) #### Variante verte @@ -124,7 +124,7 @@ Si vous avez besoin de changer ce comportement par défaut, créer un nouveau fi themeVariant = "green" ``` -![Variante verte](/basics/configuration/images/green-variant.png?width=60%) +![Variante verte](/basics/configuration/images/green-variant.png?width=60pc) #### Votre variante diff --git a/exampleSite/content/basics/installation/_index.en.md b/exampleSite/content/basics/installation/_index.en.md index 19874d0440..2c730ee1af 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=60%) +![A Chapter](/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 1e751403a3..1d483c5d23 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=60%) +![Un chapitre](/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/cont/markdown.en.md b/exampleSite/content/cont/markdown.en.md index c6d1ff828c..5934126d47 100644 --- a/exampleSite/content/cont/markdown.en.md +++ b/exampleSite/content/cont/markdown.en.md @@ -626,10 +626,10 @@ With a reference later in the document defining the URL location: Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`). ```markdown -![Minion](http://octodex.github.com/images/minion.png?width=20%) +![Minion](http://octodex.github.com/images/minion.png?width=20pc) ``` -![Minion](http://octodex.github.com/images/minion.png?width=20%) +![Minion](http://octodex.github.com/images/minion.png?width=20pc) ```markdown ![Minion](http://octodex.github.com/images/minion.png?height=50px) @@ -650,14 +650,14 @@ Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and ```markdown ![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=shadow) ``` -![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40%&classes=shadow) +![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow) ```markdown ![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border) ``` -![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40%&classes=border) +![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border) ```markdown ![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow) ``` -![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40%&classes=border,shadow) +![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow) diff --git a/exampleSite/content/cont/markdown.fr.md b/exampleSite/content/cont/markdown.fr.md index aa7296e29f..5e5244c8d7 100644 --- a/exampleSite/content/cont/markdown.fr.md +++ b/exampleSite/content/cont/markdown.fr.md @@ -628,10 +628,10 @@ With a reference later in the document defining the URL location: Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`). ```markdown -![Minion](http://octodex.github.com/images/minion.png?width=20%) +![Minion](http://octodex.github.com/images/minion.png?width=20pc) ``` -![Minion](http://octodex.github.com/images/minion.png?width=20%) +![Minion](http://octodex.github.com/images/minion.png?width=20pc) ```markdown ![Minion](http://octodex.github.com/images/minion.png?height=50px) @@ -652,14 +652,14 @@ Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and ```markdown ![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=shadow) ``` -![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40%&classes=shadow) +![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow) ```markdown ![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border) ``` -![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40%&classes=border) +![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border) ```markdown ![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow) ``` -![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40%&classes=border,shadow) +![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow) diff --git a/exampleSite/content/cont/pages/_index.en.md b/exampleSite/content/cont/pages/_index.en.md index 95c0a1bf06..e12e6fba45 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=50%) +![Chapter page](/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=50%) +![Default page](/cont/pages/images/pages-default.png?width=50pc) ```toml +++ diff --git a/exampleSite/content/cont/pages/_index.fr.md b/exampleSite/content/cont/pages/_index.fr.md index 6da5338e80..2bd5336fcf 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=50%) +![Page Chapitre](/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=50%) +![Page défaut](/cont/pages/images/pages-default.png?width=50pc) +++ title = "Installation" diff --git a/exampleSite/content/showcase.en.md b/exampleSite/content/showcase.en.md index b6d5e0a7a1..a9d7181b9b 100644 --- a/exampleSite/content/showcase.en.md +++ b/exampleSite/content/showcase.en.md @@ -4,7 +4,7 @@ disableToc: true --- #### [TAT](https://ovh.github.io/tat/overview/) by OVH -![TAT image](/images/showcase/tat.png?width=50%) +![TAT image](/images/showcase/tat.png?width=50pc) diff --git a/exampleSite/content/showcase.fr.md b/exampleSite/content/showcase.fr.md index 192babdcfd..ed6dc70579 100644 --- a/exampleSite/content/showcase.fr.md +++ b/exampleSite/content/showcase.fr.md @@ -5,7 +5,7 @@ slug: vitrine --- #### [TAT](https://ovh.github.io/tat/overview/) par OVH -![TAT image](/images/showcase/tat.png?width=50%) +![TAT image](/images/showcase/tat.png?width=50pc)