Séparation de la configuration avec l'ajout de commentaire

This commit is contained in:
Simon 2022-07-20 16:41:33 +02:00
parent 7f97cfdd1e
commit 2063ea4d1f
7 changed files with 149 additions and 129 deletions

View File

@ -1,18 +1,25 @@
---
# Titre de la page d'accueil
title: Jarnat title: Jarnat
# Theme choisi
theme: meghna-hugo 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' summaryLength: '15'
disqusShortname: '' # Permet de désactiver une langue
disableLanguages: [] disableLanguages: ['en']
# Paramètre la langue par défaut
defaultContentLanguage: fr defaultContentLanguage: fr
module:
hugoVersion:
extended: true
min: 0.101.0
params: 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: plugins:
css: css:
- link: plugins/bootstrap/bootstrap.min.css - link: plugins/bootstrap/bootstrap.min.css
@ -28,131 +35,32 @@ params:
- link: plugins/shuffle/shuffle.min.js - link: plugins/shuffle/shuffle.min.js
- link: plugins/magnific-popup/jquery.magnific-popup.min.js - link: plugins/magnific-popup/jquery.magnific-popup.min.js
- link: plugins/lazy-load/lozad.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 logo: images/logo.png
description: Responsive Multipurpose Parallax Hugo Template
author: Themefisher # Permet d'activer ou non le partage d'un article de blog
google_analytics_id: '' post_share: false
post_share: true
# Permet d'activer ou non une page d'attente le temps que la totalité de la page soit chargée
preloader: preloader:
enable: false enable: false
preloader: images/logo.png preloader: images/logo.png
cookies:
enable: false # Liste des réseaux sociaux
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
social: social:
- icon: ti-facebook # - icon: ti-facebook
link: '#' # link: '#'
- icon: ti-twitter-alt # - icon: ti-twitter-alt
link: '#' # link: '#'
- icon: ti-youtube # - icon: ti-youtube
link: '#' # link: '#'
- icon: ti-linkedin # - icon: ti-linkedin
link: '#' # link: '#'
- icon: ti-dribbble # - icon: ti-dribbble
link: '#' # link: '#'
- icon: ti-pinterest # - icon: ti-pinterest
link: '#' # 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&region=garage
- name: staging
URL: >-
s3://staging.jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true&region=garage
disableHugoGeneratorInject: true
# Permet de mettre automatiquement une consigne dans /robots.txt
# pour que les moteurs de recherche indexe la production mais pas staging
enableRobotsTXT: true enableRobotsTXT: true

View File

@ -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)

View File

@ -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)

View File

@ -0,0 +1,5 @@
---
hugoVersion:
extended: true
min: 0.101.0

View File

@ -1 +1,7 @@
baseURL: https://jarnat.fr/ baseURL: https://jarnat.fr/
deployment:
targets:
- name: production
URL: >-
s3://jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true&region=garage

View File

@ -1 +1,7 @@
baseURL: https://staging.jarnat.fr/ 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&region=garage

View File

@ -5,6 +5,7 @@
<div class="col-xl-12"> <div class="col-xl-12">
{{"<!-- Footer Social Links -->" | safeHTML}} {{"<!-- Footer Social Links -->" | safeHTML}}
{{ if site.Params.social}}
<div class="social-icon"> <div class="social-icon">
<ul class="list-inline"> <ul class="list-inline">
{{ range site.Params.social }} {{ range site.Params.social }}
@ -12,6 +13,7 @@
{{ end }} {{ end }}
</ul> </ul>
</div> </div>
{{ end }}
{{"<!-- copyright -->" | safeHTML}} {{"<!-- copyright -->" | safeHTML}}
<div class="copyright text-center"> <div class="copyright text-center">