From fbbb549f6e95fc4630def48398f712d7f5cce1cb Mon Sep 17 00:00:00 2001 From: GZod01 Date: Sun, 10 Nov 2024 15:24:45 +0100 Subject: [PATCH] hello --- assets/images/tiktok.svg | 2 ++ config.toml | 6 ++++++ layouts/shortcodes/partners.html | 16 ++++++++++++---- 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 assets/images/tiktok.svg diff --git a/assets/images/tiktok.svg b/assets/images/tiktok.svg new file mode 100644 index 0000000..8bbeb1d --- /dev/null +++ b/assets/images/tiktok.svg @@ -0,0 +1,2 @@ + + diff --git a/config.toml b/config.toml index a40373e..42d4279 100755 --- a/config.toml +++ b/config.toml @@ -182,6 +182,12 @@ weight=5 title="GitHub" url="https://github.com/werobot-france" +#[[params.social]] +#id="tiktok" +#weight=6 +#title="TikTok" +#url="https://tiktok.com/" + [[params.errors]] id="unknown" title="Erreur inconnue" diff --git a/layouts/shortcodes/partners.html b/layouts/shortcodes/partners.html index 8cf5c71..9870535 100755 --- a/layouts/shortcodes/partners.html +++ b/layouts/shortcodes/partners.html @@ -1,23 +1,31 @@
-

{{ if (eq .Lang "en") }}They support us regularly:{{ else }}Ils nous soutiennent régulièrement:{{ end }}

+

{{ if (eq .Page.Lang "en") }} + They support us regularly: + {{ else }} + Ils nous soutiennent régulièrement: + {{ end }}

{{ range .Site.Data.partners.partners }}
- {{ if (and .descriptionen (eq .Lang "en")) }}{{ .descriptionen | safeHTML }}{{ else }}{{ .description | safeHTML}}{{ end }} + {{ if (and .descriptionen (eq .Page.Lang "en")) }}{{ .descriptionen | safeHTML }}{{ else }}{{ .description | safeHTML}}{{ end }}
{{ end }} -

{{ if (eq .Lang "en") }}They supported us:{{ else }}Ils nous ont soutenus:{{ end }}

+

{{ if (eq .Page.Lang "en") }} + They supported us: + {{ else }} + Ils nous ont soutenus: + {{ end }}

{{ range .Site.Data.partners.old }}
- {{ if (and .descriptionen (eq .Lang "en")) }}{{ .descriptionen | safeHTML }}{{ else }}{{ .description | safeHTML}}{{ end } + {{ if (and .descriptionen (eq .Lang "en")) }}{{ .descriptionen | safeHTML }}{{ else }}{{ .description | safeHTML}}{{ end }}
{{ end }}