En cours...
This commit is contained in:
154
config/_default/hugo.toml
Normal file
154
config/_default/hugo.toml
Normal file
@@ -0,0 +1,154 @@
|
||||
######################## default configuration ####################
|
||||
baseURL = "https://shop.delmar.bzh/"
|
||||
languageCode = "fr"
|
||||
title = "Ugo... Fabriqué en Bretagne !"
|
||||
theme = ["hargo-hugo"]
|
||||
# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
|
||||
timeZone = "Europe/Paris"
|
||||
# post pagination
|
||||
pagination.pagerSize = 10 # see https://gohugo.io/extras/pagination/
|
||||
# post excerpt
|
||||
summaryLength = 20 # see https://gohugo.io/content-management/excerpts/
|
||||
# google analytics
|
||||
googleAnalytics = "UA-123456-78" # example: UA-123456-78, for more info, read the article https://support.google.com/analytics/answer/1008080?hl=en
|
||||
# disqus short name
|
||||
# we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/
|
||||
# disqusShortname = "themefisher-template"
|
||||
# disable language
|
||||
disableLanguages = [] # example: ["fr"] for disable french language. see https://gohugo.io/content-management/multilingual/
|
||||
hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage
|
||||
timeout = "500s"
|
||||
|
||||
############################# Build ##############################
|
||||
[build]
|
||||
noJSConfigInAssets = false
|
||||
useResourceCacheWhen = 'fallback'
|
||||
[build.buildStats]
|
||||
enable = true
|
||||
[[build.cachebusters]]
|
||||
source = 'assets/.*\.(js|ts|jsx|tsx)'
|
||||
target = '(js|scripts|javascript)'
|
||||
[[build.cachebusters]]
|
||||
source = 'assets/.*\.(css|sass|scss)$'
|
||||
target = '(css|styles|scss|sass)'
|
||||
[[build.cachebusters]]
|
||||
source = 'assets/.*\.(.*)$'
|
||||
target = '$1'
|
||||
|
||||
############################# Outputs ##############################
|
||||
[outputs]
|
||||
home = ["HTML", "RSS"]
|
||||
|
||||
############################# Imaging ##############################
|
||||
[imaging]
|
||||
# See https://github.com/disintegration/imaging
|
||||
# Default JPEG or WebP quality setting. Default is 75.
|
||||
quality = 90
|
||||
resampleFilter = "lanczos"
|
||||
|
||||
|
||||
############################# Caches ###############################
|
||||
[caches]
|
||||
[caches.images]
|
||||
dir = ":resourceDir/_gen"
|
||||
maxAge = "720h"
|
||||
|
||||
[caches.assets]
|
||||
dir = ":resourceDir/_gen"
|
||||
maxAge = "720h"
|
||||
|
||||
############################# Markup ###############################
|
||||
[markup]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
############################# Plugins ##############################
|
||||
[params.plugins]
|
||||
|
||||
# CSS Plugins
|
||||
[[params.plugins.css]]
|
||||
link = "plugins/bootstrap/bootstrap.min.css"
|
||||
[[params.plugins.css]]
|
||||
link = "plugins/slick/slick.css"
|
||||
[[params.plugins.css]]
|
||||
link = "plugins/themify-icons/themify-icons.css"
|
||||
|
||||
# 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/google-map/gmap.js"
|
||||
|
||||
|
||||
|
||||
#################### default parameters ################################
|
||||
[params]
|
||||
logo = "logo.webp"
|
||||
logo_footer = "logo_footer.webp"
|
||||
home = "Accueil"
|
||||
# Meta data
|
||||
description = "Ugo... Fabriqué en Bretagne !"
|
||||
author = "Ugo"
|
||||
|
||||
# Google Analitycs
|
||||
googleAnalyticsID = "" # Your ID
|
||||
|
||||
# Contact Information
|
||||
mobile = "+33 6 66 66 66"
|
||||
email = "shop@delmar.bzh"
|
||||
location = "Rennes, France"
|
||||
|
||||
# copyright
|
||||
copyright = "| Copyright © 2025 [Ugo...](https://shop.delmar.bzh) All Rights Reserved |"
|
||||
|
||||
# Snipcart Credentials
|
||||
snipcartApiKey = "M2E5YjA3NjMtYzRiYS00YzVjLWEyYWYtNDY5ZDI0OWZhYjg5"
|
||||
currencySymbol = "€"
|
||||
|
||||
# Map
|
||||
[params.map]
|
||||
APIkey = ""
|
||||
latitude = "48.11342"
|
||||
longitude = "-1.683832"
|
||||
pinImage = "images/pin.png"
|
||||
|
||||
# Preloader
|
||||
[params.preloader]
|
||||
enable = true
|
||||
preloader = "loading.gif" # use .png , .svg or .gif format
|
||||
|
||||
# Product Rating
|
||||
# it works with https://rating-widget.com/ , you will get the ID and publicKey after creating your account there.
|
||||
[params.rating]
|
||||
enable = true
|
||||
websiteID = "444334"
|
||||
publicKey = "811cf0927332bf51f2e12f84608594ac"
|
||||
|
||||
# Social Site
|
||||
# [[params.social]]
|
||||
# icon = "ti-facebook"
|
||||
# link = "#"
|
||||
|
||||
# [[params.social]]
|
||||
# icon = "ti-twitter-alt"
|
||||
# link = "#"
|
||||
|
||||
# [[params.social]]
|
||||
# icon = "ti-youtube"
|
||||
# link = "#"
|
||||
|
||||
[[params.social]]
|
||||
icon = "ti-instagram"
|
||||
link = "https://www.instagram.com/ugo.fabriqueenbretagne/"
|
||||
|
||||
# [[params.social]]
|
||||
# icon = "ti-pinterest"
|
||||
# link = "#"
|
||||
|
||||
# Contact Form
|
||||
[params.contact]
|
||||
formAction = "#" # contact form works with formspree.io
|
||||
Reference in New Issue
Block a user