diff --git a/.gitmodules b/.gitmodules index 0c65c23..944438f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "themes/osm"] path = themes/osm url = https://github.com/Hanzei/hugo-component-osm.git +[submodule "themes/hugo-cloak-email"] + path = themes/hugo-cloak-email + url = https://github.com/martignoni/hugo-cloak-email.git diff --git a/data/.contact.yml.kate-swp b/data/.contact.yml.kate-swp deleted file mode 100644 index 6aedeaf..0000000 Binary files a/data/.contact.yml.kate-swp and /dev/null differ diff --git a/data/contact.yml b/data/contact.yml index 04129af..434340b 100644 --- a/data/contact.yml +++ b/data/contact.yml @@ -3,13 +3,13 @@ contact: enable : true # office office: - title : "Central Office" + title : "Mais où suis-je ?" content : "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna" # other information comes from "config.toml" # opennig hour - opennigHour: - title : "Opening Hours" + openningHour: + title : "Au bureau" dayTimeList: - dayTime : "Monday: 9:00 – 19:00" - dayTime : "Tuesday: 9:00 – 19:00" @@ -21,4 +21,4 @@ contact: ####################### google map ######################## map: - enable: true \ No newline at end of file + enable: true diff --git a/i18n/en.yaml b/i18n/en.yaml index d3ead2f..84cb62f 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,6 +1,6 @@ - id: important_link - translation: Important Links + translation: Quelques liens... - id: connect_us - translation: Connect With Us + translation: Restons en lien... - id: shortDescriptionTitle - translation: In a few words... + translation: En quelques mots... diff --git a/i18n/fr.yaml b/i18n/fr.yaml index e3b74ae..84cb62f 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -1,6 +1,6 @@ - id: important_link - translation: Liens Importants + translation: Quelques liens... - id: connect_us - translation: Contactez-nous + translation: Restons en lien... - id: shortDescriptionTitle translation: En quelques mots... diff --git a/themes/hargo-hugo/layouts/contact/list.html b/themes/hargo-hugo/layouts/contact/list.html index 6887207..453fd2a 100644 --- a/themes/hargo-hugo/layouts/contact/list.html +++ b/themes/hargo-hugo/layouts/contact/list.html @@ -22,15 +22,19 @@ -
- {{ with site.Data.contact.contact.opennigHour }} +
+ +
+
+

{{i18n `connect_us`}}

+ {{- partial "contact-form.html" . -}}
diff --git a/themes/hargo-hugo/layouts/partials/contact-form.html b/themes/hargo-hugo/layouts/partials/contact-form.html index 75c5b01..b4e3258 100644 --- a/themes/hargo-hugo/layouts/partials/contact-form.html +++ b/themes/hargo-hugo/layouts/partials/contact-form.html @@ -1,11 +1,26 @@
+ +
- - - - -
-
-
+ + + +
+ +
+ + +
+ +
+
+ +
+ +
+
+
diff --git a/themes/hargo-hugo/layouts/partials/footer.html b/themes/hargo-hugo/layouts/partials/footer.html index 0667f04..d7ab0e8 100644 --- a/themes/hargo-hugo/layouts/partials/footer.html +++ b/themes/hargo-hugo/layouts/partials/footer.html @@ -33,8 +33,8 @@
-
Contact us
- {{- partial "contact-form.html" . -}} +
...
+
diff --git a/themes/hargo-hugo/layouts/partials/head.html b/themes/hargo-hugo/layouts/partials/head.html index b08b726..1db9f34 100644 --- a/themes/hargo-hugo/layouts/partials/head.html +++ b/themes/hargo-hugo/layouts/partials/head.html @@ -31,4 +31,8 @@ {{ "" | safeHTML }} + + {{ "" | safeHTML }} + +