From c2d72e09747a2a4abe9602e1ba49a1b4649c9d3c Mon Sep 17 00:00:00 2001 From: Jieiku Date: Fri, 14 Aug 2026 15:10:15 -0700 Subject: Update for Zola 0.23.3 --- content/overview-images/index.fr.md | 48 +++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 18 deletions(-) (limited to 'content/overview-images/index.fr.md') diff --git a/content/overview-images/index.fr.md b/content/overview-images/index.fr.md index ad77bf9..82c1bd6 100644 --- a/content/overview-images/index.fr.md +++ b/content/overview-images/index.fr.md @@ -42,45 +42,51 @@ Cours optionnels: ## Utilisation (même chemin) +{% raw %} ```rs -{{/* img(src="ferris-happy.svg" class="ci b1" alt="Ferris is Happy" caption="Ferris" link="https://www.rust-lang.org/") */}} +{{Ferris is Happy}} ``` +{% endraw %} **Output** ```html -{{ img(src="ferris-happy.svg" class="ci b1" alt="Ferris is Happy" caption="Ferris" link="https://www.rust-lang.org/") }} +{{Ferris is Happy}} ``` -{{ img(src="ferris-happy.svg" class="ci b1" alt="Ferris is Happy" caption="Ferris" link="https://www.rust-lang.org/") }} +{{Ferris is Happy}} ## Utilisation (chemin relatif ./) +{% raw %} ```rs -{{/* img(src="./img/ferris-gesture.svg" alt="Ferris says Hello" caption="Ferris" link="https://www.rust-lang.org/") */}} +{{Ferris says Hello}} ``` +{% endraw %} **Output** ```html -{{ img(src="./img/ferris-gesture.svg" alt="Ferris says Hello" caption="Ferris" link="https://www.rust-lang.org/") }} +{{Ferris says Hello}} ``` -{{ img(src="./img/ferris-gesture.svg" alt="Ferris says Hello" caption="Ferris" link="https://www.rust-lang.org/") }} +{{Ferris says Hello}} ## Utilisation (chemin racine /) +{% raw %} ```rs -{{/* img(src="/images/ferris.svg" alt="Ferris the Rustacean") */}} +{{Ferris the Rustacean}} ``` +{% endraw %} **Sortir** ```html -{{ img(src="/images/ferris.svg" alt="Ferris the Rustacean") }} +{{Ferris the Rustacean}} ``` -{{ img(src="/images/ferris.svg" alt="Ferris the Rustacean") }} +{{Ferris the Rustacean}} # Image SVG directement dans le code @@ -109,42 +115,48 @@ Lorsque vous passez votre souris sur l'image, l'image à comparer s'affiche. ## Utilisation (même chemin) +{% raw %} ```rs -{{/* imgswap(main_src="ferris.svg" swap_src="ferris-happy.svg") */}} +{{}} ``` +{% endraw %} **Sortir** ```html -{{ imgswap(main_src="ferris.svg" swap_src="ferris-happy.svg") }} +{{}} ``` -{{ imgswap(main_src="ferris.svg" swap_src="ferris-happy.svg") }} +{{}} ## Utilisation (chemin relatif ./) +{% raw %} ```rs -{{/* imgswap(main_src="./img/ferris.svg" swap_src="./img/ferris-gesture.svg") */}} +{{}} ``` +{% endraw %} **Sortir** ```html -{{ imgswap(main_src="./img/ferris.svg" swap_src="./img/ferris-gesture.svg") }} +{{}} ``` -{{ imgswap(main_src="./img/ferris.svg" swap_src="./img/ferris-gesture.svg") }} +{{}} ## Utilisation (chemin racine /) +{% raw %} ```rs -{{/* imgswap(main_src="/images/ferris.svg" swap_src="/images/ferris-gesture.svg") */}} +{{}} ``` +{% endraw %} **Sortir** ```html -{{ imgswap(main_src="/images/ferris.svg" swap_src="/images/ferris-gesture.svg") }} +{{}} ``` -{{ imgswap(main_src="/images/ferris.svg" swap_src="/images/ferris-gesture.svg") }} +{{}} -- cgit v1.3.1