From cfcd0405c8a9b39e32dc609fd4c23482a21eefdd Mon Sep 17 00:00:00 2001 From: Simon C Date: Thu, 8 Sep 2022 11:36:09 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20la=20partie=20conta?= =?UTF-8?q?ct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/fr/contact.yml | 8 ++++---- themes/meghna-hugo/layouts/partials/contact.html | 15 ++------------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/data/fr/contact.yml b/data/fr/contact.yml index bc9267d..892b936 100644 --- a/data/fr/contact.yml +++ b/data/fr/contact.yml @@ -12,17 +12,17 @@ contact: # Contact details contact_list: - icon : ti-mobile # themify icon pack : https://themify.me/themify-icons - info : "Téléphone : 05 55 55 55 55" + info : "Téléphone : **[06 99 99 00 33](tel://+33699990033)**" - icon : ti-email # themify icon pack : https://themify.me/themify-icons - info : "Email : bonjour@jarnat.fr" + info : "Email : **[bonjour@jarnat.fr](mailto://bonjour@jarnat.fr)**" # Contact form contact_form: - enable : true + enable : false form_action : "#" #contact form works with https://formspree.io name : "votre nom" email : "Votre email" subject : "Matière" message : "Message" - submit : "Soumettre" \ No newline at end of file + submit : "Soumettre" diff --git a/themes/meghna-hugo/layouts/partials/contact.html b/themes/meghna-hugo/layouts/partials/contact.html index 8da82a5..bde30ca 100644 --- a/themes/meghna-hugo/layouts/partials/contact.html +++ b/themes/meghna-hugo/layouts/partials/contact.html @@ -21,16 +21,14 @@

{{ .subtitle | markdownify }}

{{ .content | markdownify }}

- {{ if .contact_form.enable }}
{{ range .contact_list }}
- {{ .info }} + {{ .info | markdownify }}
{{ end }}
- {{ end }} {{"" | safeHTML}} @@ -57,19 +55,10 @@ {{ end }} - {{ else }} -
- {{ range .contact_list }} -
- - {{ .info }} -
- {{ end }} -
{{ end }} {{"" | safeHTML}} {{ end }} -{{ end }} \ No newline at end of file +{{ end }}