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
# 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&region=garage
- name: staging
URL: >-
s3://staging.jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true&region=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

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