diff --git a/config/_default/config.yml b/config/_default/config.yml index efea6c9..f17e865 100644 --- a/config/_default/config.yml +++ b/config/_default/config.yml @@ -1,18 +1,25 @@ +--- + +# Titre de la page d'accueil title: Jarnat +# Theme choisi theme: meghna-hugo -paginate: '6' + +# Le nombre d'article de blog sur la page tous les articles +paginate: '9' +# Le nombre de caractère pour le sommaire d'un article summaryLength: '15' -disqusShortname: '' -disableLanguages: [] +# Permet de désactiver une langue +disableLanguages: ['en'] +# Paramètre la langue par défaut defaultContentLanguage: fr -module: - hugoVersion: - extended: true - min: 0.101.0 - params: + # Le descriptif de la page d'accueil très important pour les moteurs de recherche + description: Responsive Multipurpose Parallax Hugo Template + # Un peu de publicité pour Weko + author: Weko plugins: css: - link: plugins/bootstrap/bootstrap.min.css @@ -28,131 +35,32 @@ params: - link: plugins/shuffle/shuffle.min.js - link: plugins/magnific-popup/jquery.magnific-popup.min.js - link: plugins/lazy-load/lozad.min.js - - link: plugins/google-map/map.js + # - link: plugins/google-map/map.js logo: images/logo.png - description: Responsive Multipurpose Parallax Hugo Template - author: Themefisher - google_analytics_id: '' - post_share: true + + # Permet d'activer ou non le partage d'un article de blog + post_share: false + + # Permet d'activer ou non une page d'attente le temps que la totalité de la page soit chargée preloader: enable: false preloader: images/logo.png - cookies: - enable: false - expire_days: 2 - map: - enable: false - gmap_api: >- - https://maps.googleapis.com/maps/api/js?key=AIzaSyBu5nZKbeK-WHQ70oqOWo-_4VmwOwKP9YQ - map_latitude: '51.5223477' - map_longitude: '-0.1622023' - map_marker: images/marker.png + + # Liste des réseaux sociaux social: - - icon: ti-facebook - link: '#' - - icon: ti-twitter-alt - link: '#' - - icon: ti-youtube - link: '#' - - icon: ti-linkedin - link: '#' - - icon: ti-dribbble - link: '#' - - icon: ti-pinterest - link: '#' - -Languages: - en: - menu: - main: - - name: about - url: '#about' - weight: 1 - - name: services - url: '#services' - weight: 2 - - name: portfolio - url: '#portfolio' - weight: 3 - - name: team - url: '#team' - weight: 4 - - name: pricing - url: '#pricing' - weight: 5 - - name: blog - url: '#blog' - weight: 6 - - name: contact - url: '#contact' - weight: 7 - - name: Dropdown - weight: 7 - hasChildren: true - - parent: Dropdown - name: Dropdown 1 - url: '#' - weight: 1 - - parent: Dropdown - name: Dropdown 2 - url: '#' - weight: 2 - - name: themefisher - url: 'https://themefisher.com/' - weight: 8 - languageName: En - languageCode: en-us - contentDir: content/english - weight: 1 - home: Home - copyright: >- - Copyright © 2020 Designed by [Themefisher](https://themefisher.com) & - Developed by [Gethugothemes](https://gethugothemes.com) - fr: - menu: - main: - - name: sur - url: '#about' - weight: 1 - - name: un service - url: '#services' - weight: 2 - - name: portefeuille - url: '#portfolio' - weight: 3 - - name: équipe - url: '#team' - weight: 4 - - name: tarification - url: '#pricing' - weight: 5 - - name: blog - url: '#blog' - weight: 6 - - name: contact - url: '#contact' - weight: 7 - - name: themefisher - url: 'https://themefisher.com/' - weight: 8 - languageName: Fr - languageCode: fr-fr - contentDir: content/french - weight: 2 - home: Accueil - copyright: >- - Copyright © 2020 Designed by [Themefisher](https://themefisher.com) & - Developed by [Gethugothemes](https://gethugothemes.com) - -deployment: - targets: - - name: production - URL: >- - s3://jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage - - name: staging - URL: >- - s3://staging.jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage - -disableHugoGeneratorInject: true + # - icon: ti-facebook + # link: '#' + # - icon: ti-twitter-alt + # link: '#' + # - icon: ti-youtube + # link: '#' + # - icon: ti-linkedin + # link: '#' + # - icon: ti-dribbble + # link: '#' + # - icon: ti-pinterest + # link: '#' +# Permet de mettre automatiquement une consigne dans /robots.txt +# pour que les moteurs de recherche indexe la production mais pas staging enableRobotsTXT: true diff --git a/config/_default/languages.en.yml b/config/_default/languages.en.yml new file mode 100644 index 0000000..0467f4a --- /dev/null +++ b/config/_default/languages.en.yml @@ -0,0 +1,45 @@ +menu: + main: + - name: about + url: '#about' + weight: 1 + - name: services + url: '#services' + weight: 2 + - name: portfolio + url: '#portfolio' + weight: 3 + - name: team + url: '#team' + weight: 4 + - name: pricing + url: '#pricing' + weight: 5 + - name: blog + url: '#blog' + weight: 6 + - name: contact + url: '#contact' + weight: 7 + - name: Dropdown + weight: 7 + hasChildren: true + - parent: Dropdown + name: Dropdown 1 + url: '#' + weight: 1 + - parent: Dropdown + name: Dropdown 2 + url: '#' + weight: 2 + - name: themefisher + url: 'https://themefisher.com/' + weight: 8 +languageName: En +languageCode: en-us +contentDir: content/english +weight: 2 +home: Home +copyright: >- + Copyright © 2020 Designed by [Themefisher](https://themefisher.com) & + Developed by [Gethugothemes](https://gethugothemes.com) \ No newline at end of file diff --git a/config/_default/languages.fr.yml b/config/_default/languages.fr.yml new file mode 100644 index 0000000..3db06a6 --- /dev/null +++ b/config/_default/languages.fr.yml @@ -0,0 +1,48 @@ +--- +# Influence sur l'ordre du menu des langues +weight: 1 +# Nom dans le menu +languageName: Fr +# Pour aider les moteurs de recherche à connaitre la langue de la page +languageCode: fr-fr +# Répertoire du contenu français +contentDir: content/french + +# Contenu du menu +menu: + main: + - name: Accueil + url: '/#content' + weight: 1 + - name: Actualités + url: '#blog' + weight: 2 + - name: Nos services + url: '#services' + weight: 3 + - name: Notre vision + url: '#team' + weight: 4 + - name: Contact + url: '#contact' + weight: 5 + - name: En savoir plus + weight: 6 + hasChildren: true + - parent: En savoir plus + name: Nos réalisations + url: '#' + weight: 1 + - parent: En savoir plus + name: L'entreprise + url: '#' + weight: 2 + - parent: En savoir plus + name: Communauté + url: '#' + weight: 3 + +# Texte en bas de page +copyright: >- + Copyright © 2020 Designed by [Themefisher](https://themefisher.com) & + Developed by [Gethugothemes](https://gethugothemes.com) \ No newline at end of file diff --git a/config/_default/module.yml b/config/_default/module.yml new file mode 100644 index 0000000..4fa886c --- /dev/null +++ b/config/_default/module.yml @@ -0,0 +1,5 @@ +--- + +hugoVersion: + extended: true + min: 0.101.0 \ No newline at end of file diff --git a/config/production/config.yml b/config/production/config.yml index c6ddf43..501e181 100644 --- a/config/production/config.yml +++ b/config/production/config.yml @@ -1 +1,7 @@ baseURL: https://jarnat.fr/ + +deployment: + targets: + - name: production + URL: >- + s3://jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage diff --git a/config/staging/config.yml b/config/staging/config.yml index 1141b24..2d6d2d7 100644 --- a/config/staging/config.yml +++ b/config/staging/config.yml @@ -1 +1,7 @@ baseURL: https://staging.jarnat.fr/ + +deployment: + targets: + - name: staging + URL: >- + s3://staging.jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage diff --git a/themes/meghna-hugo/layouts/partials/footer.html b/themes/meghna-hugo/layouts/partials/footer.html index f37ebc8..77c8a8a 100644 --- a/themes/meghna-hugo/layouts/partials/footer.html +++ b/themes/meghna-hugo/layouts/partials/footer.html @@ -5,6 +5,7 @@
{{"" | safeHTML}} + {{ if site.Params.social}}
+ {{ end }} {{"" | safeHTML}}