From 01953f882f497f22f261a91609126754f64cae25 Mon Sep 17 00:00:00 2001 From: guillaumew Date: Sat, 7 Sep 2024 13:02:16 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20fiche=20clx,=20rao?= =?UTF-8?q?ull=20et=20deuxfleurs,=20reglage=20des=20logos,=20=20rempalemen?= =?UTF-8?q?t=20d'une=20illustration=20en=20premiere=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 25 ++++++++++++++++--- assets/images/deuxfleurs.svg | 25 ++++++++++--------- assets/scss/custom.scss | 12 +++++++++ content/francais/_index.md | 3 ++- content/francais/le_collectif/Deuxfleurs.md | 2 +- content/francais/le_collectif/clx.md | 7 +++--- content/francais/le_collectif/raoull.md | 6 +++-- readme.md | 20 --------------- themes/hugoplate/layouts/index.html | 8 +++--- .../partials/components/author-card.html | 12 +++++---- 10 files changed, 69 insertions(+), 51 deletions(-) delete mode 100755 readme.md diff --git a/README.md b/README.md index 220c53c..1a71069 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,28 @@ -# site +# Site internet : Chtinux reloaded 🍟🍟🍟🍟🍟🍟 -#DNS Records +Ce site est un site statique généré grace à [HUGO](https://gohugo.io/) + +## 🖼️ Template du site + +Le template est [hugoplate](https://themes.gohugo.io/themes/hugoplate/) +Un conseil bien lire le README du templates contient des particularités, +la documentation d'hugo ne suffit pas. + +## 📅 Mettre à jour de l'agenda + +Un script python récupere l'ics de l'agenda du libre et génére les pages hugo +(dans le dossier /content/francais/agenda/) + + +./recup_agenda.sh + + +Le script fonctionne avec python3 + +## DNS Records DSN records were changed with the migration from linux62 to deuxfleurs The DSN records with type A and IP 213.36.253.12 -Is now changed to ALIAS garage.deuxfleurs.fr +Is now changed to ALIAS garage.deuxfleurs.fr` diff --git a/assets/images/deuxfleurs.svg b/assets/images/deuxfleurs.svg index 1eb653d..310ce71 100644 --- a/assets/images/deuxfleurs.svg +++ b/assets/images/deuxfleurs.svg @@ -1,15 +1,15 @@ + inkscape:current-layer="svg8" + showgrid="false" /> -./recup_agenda.sh - - -Le script fonctionne avec python3 diff --git a/themes/hugoplate/layouts/index.html b/themes/hugoplate/layouts/index.html index de0e44b..26984c0 100755 --- a/themes/hugoplate/layouts/index.html +++ b/themes/hugoplate/layouts/index.html @@ -42,13 +42,13 @@
- {{ partial "image" (dict "Src" .image "Alt" "feature image" "DisplayXL" "520x" "DisplayLG" "425x" "DisplayMD" "360x") }} -
+ {{ end }} sm:col-4 md:col-5 mb-6"> + {{ partial "image" (dict "Src" .image "Alt" .image_alt "Class" "mx-auto" "DisplayXL" "520x" "DisplayLG" "425x" "DisplayMD" "360x") }} +
+ {{ end }} sm:col-8 md:col-7 lg:col-6">

{{ .title | markdownify }}

diff --git a/themes/hugoplate/layouts/partials/components/author-card.html b/themes/hugoplate/layouts/partials/components/author-card.html index 28d8eeb..69cbd2a 100755 --- a/themes/hugoplate/layouts/partials/components/author-card.html +++ b/themes/hugoplate/layouts/partials/components/author-card.html @@ -2,16 +2,18 @@ class="bg-theme-light dark:bg-darkmode-theme-light rounded p-8 text-center"> {{ $image:= .Params.image }} {{ if $image }} - - {{ partial "image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "mx-auto mb-6 rounded" "size" "120x120") }} + + {{ partial "image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "mx-auto mb-6 rounded" "size" "200x200") }} {{ end }}

{{ .Title }}

-

- {{ .Description }} -

+
+

+ {{ .Description }} +

+