Changement et theme et de structure. Meilleur support français/anglais.
This commit is contained in:
@@ -1,45 +1,38 @@
|
||||
baseURL = "https://barbel.synology.me"
|
||||
languageCode = "fr-fr"
|
||||
DefaultContentLanguage = "fr"
|
||||
title = "yann64"
|
||||
theme = "ace-documentation"
|
||||
pygmentsCodeFences = true
|
||||
pygmentsStyle = "monokailight"
|
||||
|
||||
defaultContentLanguageInSubdir= true
|
||||
enableMissingTranslationPlaceholders = true
|
||||
|
||||
[params]
|
||||
ordersectionsby = "weight" # ordersectionsby = "title"
|
||||
disableSearch = false # default is false
|
||||
disableReadmoreNav = true # set true to hide prev/next navigation, default is false
|
||||
highlightClientSide = false # set true to use highlight.pack.js instead of the default hugo chroma highlighter
|
||||
menushortcutsnewtab = true # set true to open shortcuts links to a new tab/window
|
||||
title = "Yann64"
|
||||
copyright = "Yannick Barbel"
|
||||
paginate = 3 # for demonstration of pagination
|
||||
languageCode = "fr"
|
||||
defaultContentLanguage = "fr"
|
||||
enableInlineShortcodes = true
|
||||
# prevent build failures when using Hugo's Instagram shortcode due to deprecated Instagram API.
|
||||
# See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456
|
||||
ignoreErrors = ["error-remote-getjson"]
|
||||
theme = "tailwind"
|
||||
enableGitInfo = true
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
_merge = "deep"
|
||||
|
||||
[outputs]
|
||||
home = [ "HTML", "RSS", "JSON"]
|
||||
[taxonomies]
|
||||
category = "categories"
|
||||
tag = "tags"
|
||||
series = "series"
|
||||
|
||||
[[menu.shortcuts]]
|
||||
name = "<i class='fa fa-regular fa-sitemap'></i> Généalogie"
|
||||
url = "https://barbel.synology.me/webtrees/"
|
||||
weight = 1
|
||||
[privacy]
|
||||
[privacy.vimeo]
|
||||
disabled = false
|
||||
simple = true
|
||||
|
||||
[[menu.shortcuts]]
|
||||
name = "<i class='fab fa-github'></i> GitHub"
|
||||
url = "https://github.com/yann64/"
|
||||
weight = 2
|
||||
[privacy.twitter]
|
||||
disabled = false
|
||||
enableDNT = true
|
||||
simple = true
|
||||
|
||||
[[menu.shortcuts]]
|
||||
name = "<i class='fab fa-git-alt'></i> Gitea (auto-hébergé)"
|
||||
url = "https://git.barbel.synology.me/yann64/"
|
||||
weight = 3
|
||||
[privacy.instagram]
|
||||
disabled = false
|
||||
simple = true
|
||||
|
||||
[[menu.shortcuts]]
|
||||
name = "<i class='fab fa-mastodon'></i> Mastodon"
|
||||
url = "https://mastodon.social/@yann64"
|
||||
weight = 4
|
||||
[privacy.youtube]
|
||||
disabled = false
|
||||
privacyEnhanced = true
|
||||
|
||||
59
config/_default/languages.toml
Normal file
59
config/_default/languages.toml
Normal file
@@ -0,0 +1,59 @@
|
||||
[fr]
|
||||
languageCode = 'fr-FR'
|
||||
languageDirection = 'ltr'
|
||||
languageName = 'Français'
|
||||
weight = 2
|
||||
[fr.menu]
|
||||
[[fr.menu.main]]
|
||||
identifier = "post"
|
||||
name = "Post"
|
||||
pageRef = "post"
|
||||
weight = 10
|
||||
|
||||
[[fr.menu.main]]
|
||||
identifier = "haiku"
|
||||
name = "Haiku"
|
||||
pageRef = "haiku"
|
||||
weight = 20
|
||||
|
||||
[[fr.menu.main]]
|
||||
identifier = "minecraft"
|
||||
name = "Minecraft"
|
||||
pageRef = "minecraft"
|
||||
weight = 30
|
||||
|
||||
[[fr.menu.main]]
|
||||
identifier = "about"
|
||||
name = "A propos"
|
||||
pageRef = "about"
|
||||
weight = 40
|
||||
|
||||
[en]
|
||||
languageCode = 'en-US'
|
||||
languageDirection = 'ltr'
|
||||
languageName = 'English'
|
||||
weight = 1
|
||||
[en.menu]
|
||||
[[en.menu.main]]
|
||||
identifier = "post"
|
||||
name = "Post"
|
||||
pageRef = "post"
|
||||
weight = 10
|
||||
|
||||
[[en.menu.main]]
|
||||
identifier = "haiku"
|
||||
name = "Haiku"
|
||||
pageRef = "haiku"
|
||||
weight = 20
|
||||
|
||||
[[en.menu.main]]
|
||||
identifier = "minecraft"
|
||||
name = "Minecraft"
|
||||
pageRef = "minecraft"
|
||||
weight = 30
|
||||
|
||||
[[en.menu.main]]
|
||||
identifier = "about"
|
||||
name = "About"
|
||||
pageRef = "about"
|
||||
weight = 40
|
||||
92
config/_default/params.toml
Normal file
92
config/_default/params.toml
Normal file
@@ -0,0 +1,92 @@
|
||||
# SEO keywords and description for your site.
|
||||
keywords = "genealogy, généalogie, haiku, informatique, computing, webtrees"
|
||||
subtitle = "Mon petit espace perso"
|
||||
|
||||
# dir name of your blog content (default is `content/posts`).
|
||||
# the list of set content will show up on your index page (baseurl).
|
||||
contentTypeName = "post"
|
||||
|
||||
jsonLD = true
|
||||
|
||||
showAuthor = true
|
||||
|
||||
[author]
|
||||
name = "yann64"
|
||||
email = "yannickbarbel@orange.fr"
|
||||
|
||||
[header]
|
||||
logo = "logo.svg"
|
||||
|
||||
[footer]
|
||||
since = 2020
|
||||
poweredby = false
|
||||
|
||||
# giscus is comments system powered by GitHub Discussions
|
||||
# generate configurations from https://giscus.app/
|
||||
[giscus]
|
||||
enabled = false
|
||||
repo = "tomowang/hugo-theme-tailwind"
|
||||
repoID = "R_kgDOKjVJHA"
|
||||
category = "Announcements"
|
||||
categoryID = "DIC_kwDOKjVJHM4CafqS"
|
||||
mapping = "pathname"
|
||||
strict = "0"
|
||||
reactionsEnabled = "1"
|
||||
emitMetadata = "0"
|
||||
inputPosition = "bottom"
|
||||
lang = "fr"
|
||||
|
||||
[social_media]
|
||||
|
||||
[[social_media.items]]
|
||||
enabled = true
|
||||
title = 'Mastodon'
|
||||
icon = 'brand-mastodon'
|
||||
link = 'https://mastodon.social/@yann64'
|
||||
|
||||
[[social_media.items]]
|
||||
enabled = true
|
||||
title = 'Git'
|
||||
icon = 'brand-git'
|
||||
link = 'https://git.barbel.synology.me/'
|
||||
|
||||
[[social_media.items]]
|
||||
enabled = true
|
||||
title = 'Facebook'
|
||||
icon = 'brand-facebook'
|
||||
link = 'https://www.facebook.com/yannick.barbel'
|
||||
|
||||
[[social_media.items]]
|
||||
enabled = true
|
||||
title = 'Twitter'
|
||||
icon = 'brand-x'
|
||||
link = 'https://twitter.com/yannickbarbel'
|
||||
|
||||
[[social_media.items]]
|
||||
enabled = true
|
||||
title = 'Instagram'
|
||||
icon = 'brand-instagram'
|
||||
link = 'https://www.instagram.com/'
|
||||
|
||||
[[social_media.items]]
|
||||
enabled = true
|
||||
title = 'LinkedIn'
|
||||
icon = 'brand-linkedin'
|
||||
link = 'https://www.linkedin.com/in/yannick-barbel-83534525/'
|
||||
|
||||
[[social_media.items]]
|
||||
enabled = true
|
||||
title = 'Github'
|
||||
icon = 'brand-github'
|
||||
link = 'https://github.com/yann64'
|
||||
|
||||
[pwa]
|
||||
enabled = false
|
||||
icon = "logo.png" # should be in assets
|
||||
icon_sizes = [192, 512]
|
||||
|
||||
# will be used as the manifest.json file and merge the default one
|
||||
# https://developer.mozilla.org/en-US/docs/Web/Manifest
|
||||
# https://web.dev/add-manifest/
|
||||
[manifest]
|
||||
description = "Example site for hugo-theme-tailwind"
|
||||
15
config/_default/services.toml
Normal file
15
config/_default/services.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
# GA Tracking ID
|
||||
[googleAnalytics]
|
||||
ID = ""
|
||||
|
||||
[instagram]
|
||||
disableInlineCSS = true
|
||||
|
||||
[twitter]
|
||||
disableInlineCSS = true
|
||||
|
||||
# comments
|
||||
[disqus]
|
||||
# https://gohugo.io/templates/internal/#disqus
|
||||
# disqusShortname = "your-disqus-shortname"
|
||||
shortname = ''
|
||||
Reference in New Issue
Block a user