From 7539a78cab2962c716b2fff4069fde680014e9a0 Mon Sep 17 00:00:00 2001 From: Pierre Dubois Date: Tue, 15 Oct 2024 15:42:21 -0400 Subject: [PATCH] Jekyll initial setup - Create custom-fr.html --- _layouts/custom-fr.html | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 _layouts/custom-fr.html diff --git a/_layouts/custom-fr.html b/_layouts/custom-fr.html new file mode 100644 index 0000000..e9d65a0 --- /dev/null +++ b/_layouts/custom-fr.html @@ -0,0 +1,40 @@ +--- +layout: default +--- + +{% assign customInfo = site.pages | where: "output", "false" | where: "componentName", page.componentName %} + +

+ {%- if customInfo.description.fr -%} + {{ customInfo.description.fr }} + {%- elsif customInfo.description.en -%} + {{ customInfo.description.en }} + {%- elsif customInfo.description -%} + {{ customInfo.description }} + {%- else -%} + (No description provided) + {%- endif -%} +

+ +

Parrainé par: {{ customInfo.sponsor }}

+ +

Exemples

+ + +

Plan de maintenance

+ + +

À faire et pour considération future

+