Update hugo.toml
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
obsidian 2024-04-22 16:27:11 +02:00
parent 88c06eee10
commit a4f8a20156

View File

@ -1,47 +1,47 @@
### General ### General
baseURL = 'https://meridian-corp.org' # Enter your full production URL baseURL = 'https://site.meridian-corp.org' # Enter your full production URL
languageCode = 'fr-FR' # Default languageCode = 'fr-FR' # Default
timeZone = 'Europe/Paris' # IANA timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones timeZone = 'Europe/Paris' # IANA timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
title = 'Meridian Corp' # Site title used throughout site title = 'Meridian Corp' # Site title used throughout site
defaultContentLanguage = 'fr' # Default defaultContentLanguage = 'fr' # Default
defaultContentLanguageInSubdir = false defaultContentLanguageInSubdir = false
### SEO, Analytics & 3rd-party ### SEO, Analytics & 3rd-party
enableRobotsTXT = true # To overwrite the theme's robots.txt, add your own in the /layouts/ directory enableRobotsTXT = true # To overwrite the theme's robots.txt, add your own in the /layouts/ directory
rssLimit = -1 # -1 is unlimited RSS entries rssLimit = -1 # -1 is unlimited RSS entries
# googleAnalytics = '' # Enter GA tracking ID to enable GA4 # googleAnalytics = '' # Enter GA tracking ID to enable GA4
# disqusShortname = '' # Enter Disqus shortname to enable comments # disqusShortname = '' # Enter Disqus shortname to enable comments
### Content & Publishing ### Content & Publishing
# Please see https://gohugo.io/getting-started/configuration/ for detailed explanations # Please see https://gohugo.io/getting-started/configuration/ for detailed explanations
buildDrafts = false # Default buildDrafts = false # Default
buildExpired = false # Default buildExpired = false # Default
buildFuture = false # Default buildFuture = false # Default
canonifyURLs = false # Default canonifyURLs = false # Default
disableAliases = true # Set to true if using server (Netlify, .htaccess) for redirects instead of Hugo disableAliases = true # Set to true if using server (Netlify, .htaccess) for redirects instead of Hugo
disableKinds = [] # Default disableKinds = [] # Default
enableEmoji = true # Use Emojis in content enableEmoji = true # Use Emojis in content
enableGitInfo = false # Default, enable to use git for lastmod (can be overwritten in frontmatter) enableGitInfo = false # Default, enable to use git for lastmod (can be overwritten in frontmatter)
enableInlineShortcodes = false # Default, false is more security-friendly enableInlineShortcodes = false # Default, false is more security-friendly
ignoreFiles = [] # Default ignoreFiles = [] # Default
# newContentEditor = 'code' # Set VS Code as default editor # newContentEditor = 'code' # Set VS Code as default editor
paginate = 10 # Default paginate = 10 # Default
paginatePath = 'page' # Default paginatePath = 'page' # Default
pluralizeListTitles = true # Default pluralizeListTitles = true # Default
publishDir = 'public' # Default publishDir = 'public' # Default
relativeURLs = false # Default relativeURLs = false # Default
summaryLength = 70 # Default summaryLength = 70 # Default
titleCaseStyle = 'AP' # Default, other options: Chicago (slightly different) or Go (all first letters capitalized) titleCaseStyle = 'AP' # Default, other options: Chicago (slightly different) or Go (all first letters capitalized)
### Other ### Other
archetypeDir = 'archetypes' # Default archetypeDir = 'archetypes' # Default
assetDir = 'assets' # Default assetDir = 'assets' # Default
contentDir = 'content' # Default contentDir = 'content' # Default
dataDir = 'data' # Default dataDir = 'data' # Default
disableHugoGeneratorInject = false # Default disableHugoGeneratorInject = false # Default
disableLiveReload = false # Default disableLiveReload = false # Default
# Use this theme as git submodule # Use this theme as git submodule
theme = 'liftoff' theme = 'liftoff'
@ -51,198 +51,198 @@ theme = 'liftoff'
# path = 'liftoff' # path = 'liftoff'
[taxonomies] [taxonomies]
tag = 'tags' tag = 'tags'
category = 'categories' category = 'categories'
series = 'series' # Allows you to create an organized series of posts (e.g. multi-part tutorial) series = 'series' # Allows you to create an organized series of posts (e.g. multi-part tutorial)
project-type = 'project types' # Categorize projects by type (e.g. client work, personal, open source, etc.) project-type = 'project types' # Categorize projects by type (e.g. client work, personal, open source, etc.)
[permalinks] [permalinks]
[permalinks.page] [permalinks.page]
# e.g. /subsection/example-post instead of /posts/subsection/example-post # e.g. /subsection/example-post instead of /posts/subsection/example-post
posts = '/:sections[last]/:slug/' # Removes 'posts' from the permalink structure for posts created under nested sub-sections posts = '/:sections[last]/:slug/' # Removes 'posts' from the permalink structure for posts created under nested sub-sections
[permalinks.section] [permalinks.section]
# e.g. /subsection/ instead of /posts/subsection/ # e.g. /subsection/ instead of /posts/subsection/
posts = '/:slug/' posts = '/:slug/'
[markup] [markup]
defaultMarkdownHandler = 'goldmark' # Default (everything under [markup] is unless otherwise specified) defaultMarkdownHandler = 'goldmark' # Default (everything under [markup] is unless otherwise specified)
[markup.goldmark] [markup.goldmark]
[markup.goldmark.extensions] [markup.goldmark.extensions]
definitionList = true definitionList = true
footnote = true footnote = true
linkify = true linkify = true
linkifyProtocol = 'https' linkifyProtocol = 'https'
strikethrough = true strikethrough = true
table = true table = true
taskList = true taskList = true
typographer = true typographer = true
[markup.goldmark.parser] [markup.goldmark.parser]
autoHeadingID = true autoHeadingID = true
autoHeadingIDType = 'github' autoHeadingIDType = 'github'
[markup.goldmark.parser.attribute] [markup.goldmark.parser.attribute]
block = false block = false
title = true title = true
[markup.goldmark.renderer] [markup.goldmark.renderer]
hardWraps = false hardWraps = false
unsafe = false unsafe = false
xhtml = false xhtml = false
[markup.highlight] [markup.highlight]
anchorLineNos = false anchorLineNos = false
codeFences = true codeFences = true
guessSyntax = false guessSyntax = false
hl_Lines = '' hl_Lines = ''
lineAnchors = '' lineAnchors = ''
lineNoStart = 1 lineNoStart = 1
lineNos = true # Not the default lineNos = true # Not the default
lineNumbersInTable = false # Not the default lineNumbersInTable = false # Not the default
noClasses = true noClasses = true
noHl = false noHl = false
style = 'monokai' style = 'monokai'
tabWidth = 4 tabWidth = 4
[markup.tableOfContents] [markup.tableOfContents]
endLevel = 3 endLevel = 3
ordered = false ordered = false
startLevel = 2 startLevel = 2
[related] [related]
# Default related posts settings # Default related posts settings
includeNewer = false includeNewer = false
threshold = 80 threshold = 80
toLower = false toLower = false
[[related.indices]] [[related.indices]]
name = 'keywords' name = 'keywords'
weight = 100 weight = 100
[[related.indices]] [[related.indices]]
name = 'date' name = 'date'
weight = 10 weight = 10
# Remove if not using tags taxonomy # Remove if not using tags taxonomy
[[related.indices]] [[related.indices]]
name = 'tags' name = 'tags'
weight = 80 weight = 80
[sitemap] [sitemap]
# Default sitemap settings # Default sitemap settings
changefreq = 'monthly' changefreq = 'monthly'
filename = 'sitemap.xml' filename = 'sitemap.xml'
priority = 0.5 priority = 0.5
[frontmatter] [frontmatter]
# Default frontmatter date settings # Default frontmatter date settings
date = ['date', 'publishDate', 'lastmod'] date = ['date', 'publishDate', 'lastmod']
expiryDate = ['expiryDate'] expiryDate = ['expiryDate']
lastmod = ['lastmod', ':git', 'date', 'publishDate'] lastmod = ['lastmod', ':git', 'date', 'publishDate']
publishDate = ['publishDate', 'date'] publishDate = ['publishDate', 'date']
[caches] [caches]
# Default cache settings # Default cache settings
[caches.assets] [caches.assets]
dir = ':resourceDir/_gen' dir = ':resourceDir/_gen'
maxAge = -1 maxAge = -1
[caches.getcsv] [caches.getcsv]
dir = ':cacheDir/:project' dir = ':cacheDir/:project'
maxAge = -1 maxAge = -1
[caches.getjson] [caches.getjson]
dir = ':cacheDir/:project' dir = ':cacheDir/:project'
maxAge = -1 maxAge = -1
[caches.images] [caches.images]
dir = ':resourceDir/_gen' dir = ':resourceDir/_gen'
maxAge = -1 maxAge = -1
[caches.modules] [caches.modules]
dir = ':cacheDir/modules' dir = ':cacheDir/modules'
maxAge = -1 maxAge = -1
[imaging] [imaging]
# Default image processing settings # Default image processing settings
anchor = 'Smart' anchor = 'Smart'
bgColor = '#ffffff' bgColor = '#ffffff'
hint = 'photo' hint = 'photo'
quality = 75 quality = 75
resampleFilter = 'Box' resampleFilter = 'Box'
[languages] [languages]
[languages.fr] [languages.fr]
contentDir = 'content/fr' contentDir = 'content/fr'
disabled = false disabled = false
languageCode = 'fr-FR' languageCode = 'fr-FR'
languageDirection = 'ltr' languageDirection = 'ltr'
languageName = 'Français' languageName = 'Français'
weight = 1 weight = 1
[languages.fr.params] [languages.fr.params]
screeenshotTitle = "Les screens de l'équipe" screeenshotTitle = "Les screens de l'équipe"
contact_name = "Votre nom..." contact_name = "Votre nom..."
contact_email = "Votre meilleur e-mail..." contact_email = "Votre meilleur e-mail..."
contact_placeholder = "Votre petit mot..." contact_placeholder = "Votre petit mot..."
button_send = "Envoyer" button_send = "Envoyer"
next_article = 'Prochain article' next_article = 'Prochain article'
content_table = "Table de contenu" content_table = "Table de contenu"
[languages.en] [languages.en]
contentDir = 'content/en' contentDir = 'content/en'
disabled = false disabled = false
languageCode = 'en-US' languageCode = 'en-US'
languageDirection = 'ltr' languageDirection = 'ltr'
languageName = 'English' languageName = 'English'
weight = 2 weight = 2
[languages.en.params] [languages.en.params]
screeenshotTitle = "Screenshots from the team" screeenshotTitle = "Screenshots from the team"
contact_name = "Your name..." contact_name = "Your name..."
contact_email = "Your best email..." contact_email = "Your best email..."
contact_placeholder = "Your lovely note..." contact_placeholder = "Your lovely note..."
button_send = "Send" button_send = "Send"
next_article = 'Next article' next_article = 'Next article'
content_table = "Content Table" content_table = "Content Table"
### Hugo Pipes ### Hugo Pipes
[minify] [minify]
disableCSS = false disableCSS = false
disableHTML = false disableHTML = false
disableJS = false disableJS = false
disableJSON = false disableJSON = false
disableSVG = false disableSVG = false
disableXML = false disableXML = false
minifyOutput = false minifyOutput = false
[minify.tdewolff] [minify.tdewolff]
[minify.tdewolff.css] [minify.tdewolff.css]
keepCSS2 = true keepCSS2 = true
precision = 0 precision = 0
[minify.tdewolff.html] [minify.tdewolff.html]
keepComments = false keepComments = false
keepConditionalComments = true keepConditionalComments = true
keepDefaultAttrVals = true keepDefaultAttrVals = true
keepDocumentTags = true keepDocumentTags = true
keepEndTags = true keepEndTags = true
keepQuotes = false keepQuotes = false
keepWhitespace = false keepWhitespace = false
[minify.tdewolff.js] [minify.tdewolff.js]
keepVarNames = false keepVarNames = false
noNullishOperator = false noNullishOperator = false
precision = 0 precision = 0
[minify.tdewolff.json] [minify.tdewolff.json]
keepNumbers = false keepNumbers = false
precision = 0 precision = 0
[minify.tdewolff.svg] [minify.tdewolff.svg]
precision = 0 precision = 0
[minify.tdewolff.xml] [minify.tdewolff.xml]
keepWhitespace = false keepWhitespace = false
### Netlify settings ### Netlify settings
# add redirects/headers # add redirects/headers
[outputs] [outputs]
home = ["HTML", "RSS", "REDIRECTS", "HEADERS"] home = ["HTML", "RSS", "REDIRECTS", "HEADERS"]
# remove .{ext} from text/netlify # remove .{ext} from text/netlify
[mediaTypes."text/netlify"] [mediaTypes."text/netlify"]
suffixes = [""] suffixes = [""]
delimiter = "" delimiter = ""
# add output format for netlify _redirects # add output format for netlify _redirects
[outputFormats.REDIRECTS] [outputFormats.REDIRECTS]
mediatype = "text/netlify" mediatype = "text/netlify"
baseName = "_redirects" baseName = "_redirects"
isPlainText = true isPlainText = true
notAlternative = true notAlternative = true
# add output format for netlify _headers # add output format for netlify _headers
[outputFormats.HEADERS] [outputFormats.HEADERS]
mediatype = "text/netlify" mediatype = "text/netlify"
baseName = "_headers" baseName = "_headers"
isPlainText = true isPlainText = true
notAlternative = true notAlternative = true