Modification de la configuration

This commit is contained in:
Simon 2022-07-19 09:35:08 +02:00
parent 1a77b09683
commit 359fac887e
6 changed files with 156 additions and 217 deletions

4
.gitignore vendored
View File

@ -1 +1,3 @@
resources
# hugo
resources
public

View File

@ -1,216 +0,0 @@
################################# Default configuration ###################
baseURL = "https://jarnat.fr/"
title = "Meghna"
theme = "meghna-hugo"
# post pagination
paginate = "6"
# post excerpt
summaryLength = "15"
# disqus short name
disqusShortname = "" # get your shortname form here : https://disqus.com
# disable language
disableLanguages = []
defaultContentLanguage = 'fr'
############################# Plugins ##########################
# css plugins
[[params.plugins.css]]
link = "plugins/bootstrap/bootstrap.min.css"
[[params.plugins.css]]
link = "plugins/themify-icons/themify-icons.css"
[[params.plugins.css]]
link = "plugins/magnific-popup/magnific-popup.css"
[[params.plugins.css]]
link = "plugins/slick/slick.css"
[[params.plugins.css]]
link = "https://fonts.googleapis.com/css?family=Anaheim|Quattrocento+Sans:400,700&display=swap"
# js plugins
[[params.plugins.js]]
link = "plugins/jquery/jquery.min.js"
[[params.plugins.js]]
link = "plugins/bootstrap/bootstrap.min.js"
[[params.plugins.js]]
link = "plugins/slick/slick.min.js"
[[params.plugins.js]]
link = "plugins/shuffle/shuffle.min.js"
[[params.plugins.js]]
link = "plugins/magnific-popup/jquery.magnific-popup.min.js"
[[params.plugins.js]]
link = "plugins/lazy-load/lozad.min.js"
[[params.plugins.js]]
link = "plugins/google-map/map.js"
################### English Navigation ########################
[[Languages.en.menu.main]]
name = "about"
url = "#about"
weight = 1
[[Languages.en.menu.main]]
name = "services"
url = "#services"
weight = 2
[[Languages.en.menu.main]]
name = "portfolio"
url = "#portfolio"
weight = 3
[[Languages.en.menu.main]]
name = "team"
url = "#team"
weight = 4
[[Languages.en.menu.main]]
name = "pricing"
url = "#pricing"
weight = 5
[[Languages.en.menu.main]]
name = "blog"
url = "#blog"
weight = 6
[[Languages.en.menu.main]]
name = "contact"
url = "#contact"
weight = 7
[[Languages.en.menu.main]]
name = "Dropdown"
weight = 7
hasChildren = true
[[Languages.en.menu.main]]
parent = "Dropdown"
name = "Dropdown 1"
url = "#"
weight = 1
[[Languages.en.menu.main]]
parent = "Dropdown"
name = "Dropdown 2"
url = "#"
weight = 2
[[Languages.en.menu.main]]
name = "themefisher"
url = "https://themefisher.com/"
weight = 8
################### French Navigation ########################
[[Languages.fr.menu.main]]
name = "sur"
url = "#about"
weight = 1
[[Languages.fr.menu.main]]
name = "un service"
url = "#services"
weight = 2
[[Languages.fr.menu.main]]
name = "portefeuille"
url = "#portfolio"
weight = 3
[[Languages.fr.menu.main]]
name = "équipe"
url = "#team"
weight = 4
[[Languages.fr.menu.main]]
name = "tarification"
url = "#pricing"
weight = 5
[[Languages.fr.menu.main]]
name = "blog"
url = "#blog"
weight = 6
[[Languages.fr.menu.main]]
name = "contact"
url = "#contact"
weight = 7
[[Languages.fr.menu.main]]
name = "themefisher"
url = "https://themefisher.com/"
weight = 8
############################# Default Parameters ##########################
[params]
logo = "images/logo.png"
# Meta data
description = "Responsive Multipurpose Parallax Hugo Template"
author = "Themefisher"
# Google Analytics
google_analytics_id = "" # Your ID
# post share
post_share = true
# preloader
[params.preloader]
enable = false
preloader = "images/logo.png"
# cookies
[params.cookies]
enable = false
expire_days = 2
# google map
[params.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 icons ##########################
[[params.social]]
icon = "ti-facebook" # themify icon pack : https://themify.me/themify-icons
link = "#"
[[params.social]]
icon = "ti-twitter-alt" # themify icon pack : https://themify.me/themify-icons
link = "#"
[[params.social]]
icon = "ti-youtube" # themify icon pack : https://themify.me/themify-icons
link = "#"
[[params.social]]
icon = "ti-linkedin" # themify icon pack : https://themify.me/themify-icons
link = "#"
[[params.social]]
icon = "ti-dribbble" # themify icon pack : https://themify.me/themify-icons
link = "#"
[[params.social]]
icon = "ti-pinterest" # themify icon pack : https://themify.me/themify-icons
link = "#"
################################ English Language ########################
[Languages.en]
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)"
################################ France Language ########################
[Languages.fr]
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)"

150
config/_default/config.yml Normal file
View File

@ -0,0 +1,150 @@
title: Meghna
theme: meghna-hugo
paginate: '6'
summaryLength: '15'
disqusShortname: ''
disableLanguages: []
defaultContentLanguage: fr
module:
hugoVersion:
extended: true
min: 0.101.0
params:
plugins:
css:
- link: plugins/bootstrap/bootstrap.min.css
- link: plugins/themify-icons/themify-icons.css
- link: plugins/magnific-popup/magnific-popup.css
- link: plugins/slick/slick.css
- link: >-
https://fonts.googleapis.com/css?family=Anaheim|Quattrocento+Sans:400,700&display=swap
js:
- link: plugins/jquery/jquery.min.js
- link: plugins/bootstrap/bootstrap.min.js
- link: plugins/slick/slick.min.js
- 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
logo: images/logo.png
description: Responsive Multipurpose Parallax Hugo Template
author: Themefisher
google_analytics_id: ''
post_share: true
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
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:
- URL: >-
s3://jarnat.fr?endpoint=http://roquette.resilien:3900&disableSSL=true&s3ForcePathStyle=true&region=garage

View File

@ -0,0 +1 @@
baseURL: http://localhost:1313/

View File

@ -0,0 +1 @@
baseURL: https://jarnat.fr/

View File

@ -0,0 +1 @@
baseURL: https://staging.jarnat.fr/