configuration: porte la configuration en YAML
porte la configuration qui était dans le `config.toml` dans le fichier `hugo.yaml`, qui est le fichier par défaut, désormais, et peut-être déjà depuis un moment. mets à jour le thème avec la modification de l'espace dans le menu principal. Co-Authored-by: iGor milhit <igor@milhit.ch>retour-picotin
parent
c6677c38b2
commit
28d68d8269
|
@ -5,3 +5,4 @@ __pycache__
|
|||
# Hugo
|
||||
/public/
|
||||
/resources/_gen/
|
||||
.hugo_build.lock
|
||||
|
|
112
config.toml
112
config.toml
|
@ -1,112 +0,0 @@
|
|||
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$',
|
||||
'^git$',
|
||||
'^go$',
|
||||
'^npx$',
|
||||
'^sass$',
|
||||
'^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
|
||||
|
||||
[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.author]
|
||||
name = "iGor milhit"
|
||||
email = "igor@milhit.ch"
|
||||
|
||||
[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"
|
|
@ -29,8 +29,9 @@ le cadre de formations.
|
|||
|
||||
### Jusqu'ici
|
||||
|
||||
De métier, je suis <span itemprop="jobTitle">*Spécialiste {{< smallcaps "hes"
|
||||
>}} en information documentaire*</span>, ce que je traduirais volontiers par
|
||||
De métier, je suis <span itemprop="jobTitle">*Spécialiste
|
||||
{{< smallcaps "hes" >}}
|
||||
en information documentaire*</span>, ce que je traduirais volontiers par
|
||||
*artisan en sciences de l’information*, afin de souligner que les travailleurs
|
||||
et travailleuses *incarnent* des savoir-faire construits patiemment. Plus
|
||||
précisément, la filière que j‘ai suivie formait des archivistes,
|
||||
|
|
|
@ -0,0 +1,103 @@
|
|||
baseURL: https://igor.milhit.ch/
|
||||
DefaultContentLanguage: fr
|
||||
title: iGor milhit
|
||||
theme: portfoliGor
|
||||
enableGitInfo: true
|
||||
paginate: 0
|
||||
security:
|
||||
enableInlineShortcodes: false
|
||||
exec:
|
||||
allow:
|
||||
- ^dart-sass-embedded$
|
||||
- ^git$
|
||||
- ^go$
|
||||
- ^npx$
|
||||
- ^sass$
|
||||
- ^postcss$
|
||||
- ^pandoc$
|
||||
- ^nvim$
|
||||
osEnv:
|
||||
- (?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$
|
||||
funcs:
|
||||
getenv:
|
||||
- ^HUGO_
|
||||
http:
|
||||
methods:
|
||||
- (?i)GET|POST
|
||||
urls:
|
||||
- .*
|
||||
menu:
|
||||
main:
|
||||
- identifier: blog
|
||||
name: Blog
|
||||
title: La section blog
|
||||
url: /blog/
|
||||
weight: 0
|
||||
- identifier: à-propos
|
||||
name: À propos
|
||||
title: À propos de ce site web
|
||||
url: /à-propos/
|
||||
weight: -2
|
||||
- identifier: contacts
|
||||
name: Contacts
|
||||
title: Me contacter
|
||||
url: /#online
|
||||
weight: 1
|
||||
footer:
|
||||
- identifier: credits
|
||||
name: Crédits
|
||||
url: /à-propos/#crédits
|
||||
weight: -100
|
||||
- identifier: sources
|
||||
name: Sources
|
||||
title: Sources du site
|
||||
url: https://git.milhit.ch/igor/igor.milhit
|
||||
weight: 20
|
||||
- identifier: licence
|
||||
name: cc-by
|
||||
title: Licence Creative Commons By 4.0
|
||||
url: http://creativecommons.org/licenses/by/4.0/
|
||||
weight: 10
|
||||
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.
|
||||
author:
|
||||
name: iGor milhit
|
||||
email: igor@milhit.ch
|
||||
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 or Forgejo intance? One of github, gitlab, gitea
|
||||
type: gitea
|
||||
# Professional contact data
|
||||
contactsPro:
|
||||
address: Rue Michel-Servet 1, 1211 Genève 4
|
||||
phone: +41 22 379 59 30
|
||||
email: igor.milhit@unige.ch
|
||||
# Personal contact data
|
||||
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
|
||||
online:
|
||||
git: https://git.milhit.ch/igor
|
|
@ -1 +1 @@
|
|||
Subproject commit 61c2446bdd2a5e37ed0733c6d2b73adb19dde766
|
||||
Subproject commit 47ccca91d16df2e2c772eaaa9a72bbaca1ad34be
|
Loading…
Reference in New Issue