igor.milhit/config.toml

111 lines
2.6 KiB
TOML

baseURL = "https://igor.milhit.ch/"
DefaultContentLanguage = "fr"
title = "iGor milhit"
theme = "portfoliGor"
enableGitInfo = true
paginate = 0
[security]
enableInlineShortcodes = false
[security.exec]
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^pandoc$', '^nvim$']
osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']
[security.funcs]
getenv = ['^HUGO_']
[security.http]
methods = ['(?i)GET|POST']
urls = ['.*']
[menu]
[[menu.main]]
identifier = 'blog'
name = 'Blog'
title = 'La section blog'
url = '/blog/'
weight = 0
[[menu.main]]
identifier = 'à-propos'
name = 'À propos'
title = 'À propos de ce site web'
url = '/à-propos/'
weight = -20
[[menu.main]]
identifier = 'contacts'
name = 'Contacts'
title = 'Me contacter'
url = '/#online'
weight = 10
[[menu.footer]]
identifier = 'credits'
name = "Crédits"
url = "/à-propos/#crédits"
weight = -100
[[menu.footer]]
identifier = 'sources'
name = "Sources"
title = "Sources du site"
url = "https://git.milhit.ch/igor/igor.milhit"
weight = 20
[[menu.footer]]
identifier = 'licence'
name = "cc-by"
title = "Licence Creative Commons By 4.0"
url = "http://creativecommons.org/licenses/by/4.0/"
weight = 10
[author]
name = "iGor milhit"
email = "igor@milhit.ch"
[permalinks]
posts = ":slug"
blog = ":slug"
[frontmatter]
date = ["date", "publishDate"]
lastmod = [":git", "lastmod"]
[markup.goldmark.renderer]
unsafe= true
[params]
Description = "Site web personnel d'iGor milhit."
Image = "mySite.jpg"
ImageDescription = "Portrait de mouton aux couleurs sepia."
[params.siteSources]
# Git repository of the website
url = "https://git.milhit.ch/igor/igor.milhit"
# Which kind of git forge is it? GitHub, a Gitlab instance, a Gitea intance?
type = "gitea" # github, gitlab, gitea
# Professional contact data
[params.contactsPro]
address = "Rue Michel-Servet 1, 1211 Genève 4"
phone = "+41 22 379 59 30"
email = "igor.milhit@unige.ch"
# publickey = ""
# fingerprint = ""
# Personal contact data
[params.contactsPriv]
address = "Ch. des Clochettes 16, 1206 Genève"
mobile = "+41 76 552 80 59"
email = "igor@milhit.ch"
publickey = "igor-milhit-pub.asc"
fingerprint = "843D 0CB6 A576 D7BE 4BF6 A63B 692D 97C3 D022 8A99"
xmpp = "igor@milhit.ch"
cv = "cv-igor-milhit.pdf"
# Web accounts
[params.online]
git = "https://git.milhit.ch/igor"
github = "iGormilhit"
framagit = "iGormilhit"
mastodon = "https://pouet.it/@im"
discogs = "ignami"