Refonte complète (simplification) du site

This commit is contained in:
2024-02-29 22:10:34 +01:00
parent a6eb9abd43
commit 8a56206e65
20 changed files with 121 additions and 326 deletions

View File

@@ -1,221 +0,0 @@
baseURL = "https://barbel.synology.me"
title = "Blog de la famille Barbel"
languageCode = "fr-fr"
theme = "hello-friend-ng"
PygmentsCodeFences = true
PygmentsStyle = "monokai"
paginate = 10
rssLimit = 10 # Maximum number of items in the RSS feed.
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template.
# googleAnalytics = ""
# disqusShortname = ""
archetypeDir = "archetypes"
contentDir = "content"
dataDir = "data"
layoutDir = "layouts"
publishDir = "public"
buildDrafts = false
buildFuture = false
buildExpired = false
canonifyURLs = true
enableRobotsTXT = true
enableGitInfo = false
enableEmoji = true
enableMissingTranslationPlaceholders = false
disableRSS = false
disableSitemap = false
disable404 = false
disableHugoGeneratorInject = false
[permalinks]
posts = "/posts/:year/:month/:title/"
[author]
name = "Yannick Barbel"
[blackfriday]
hrefTargetBlank = true
[taxonomies]
tag = "tags"
category = "categories"
series = "series"
[params]
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04"
# Metadata mostly used in document's head
#
description = "Barbel family's blog"
keywords = ""
images = [""]
# Home subtitle of the index page.
#
homeSubtitle = "Misc stuff / Information diverses"
# Set a background for the homepage
# backgroundImage = "assets/images/background.jpg"
# Prefix of link to the git commit detail page. GitInfo must be enabled.
#
# gitUrl = ""
# Set disableReadOtherPosts to true in order to hide the links to other posts.
#
disableReadOtherPosts = false
# Enable theme toggle
#
# This options enables the theme toggle for the theme.
# Per default, this option is off.
# The theme is respecting the prefers-color-scheme of the operating system.
# With this option on, the page user is able to set the scheme he wants.
enableThemeToggle = true
# Sharing buttons
#
# There are a lot of buttons preconfigured. If you want to change them,
# generate the buttons here: https://sharingbuttons.io
# and add them into your own `layouts/partials/sharing-buttons.html`
#
enableSharingButtons = true
# Global language menu
#
# Enables the global language menu.
#
enableGlobalLanguageMenu = true
# Integrate Javascript files or stylesheets by adding the url to the external assets or by
# linking local files with their path relative to the static folder, e.g. "css/styles.css"
#
customCSS = []
customJS = []
# Toggle this option need to rebuild SCSS, requires extended version of Hugo
#
justifyContent = false # Set "text-align: justify" to .post-content.
# Integrate Plausible.io
# plausibleDataDomain = 'test.com'
# plausibleScriptSource = 'https://plausible.io/js/script.js'
# Custom footer
# If you want, you can easily override the default footer with your own content.
#
[params.footer]
trademark = 2023
rss = true
copyright = true
author = true
topText = []
bottomText = []
# Colors for favicons
#
[params.favicon.color]
mask = "#1b1c1d"
msapplication = "#1b1c1d"
theme = "#1b1c1d"
[params.logo]
logoMark = ">"
logoText = "$ cd /home/"
logoHomeLink = "/"
# Set true to remove the logo cursor entirely.
# logoCursorDisabled = false
# Set to a valid CSS color to change the cursor in the logo.
# logoCursorColor = "#67a2c9"
# Set to a valid CSS time value to change the animation duration, "0s" to disable.
# logoCursorAnimate = "2s"
# Append the current url pathname to logoText
# logoCursorPathname = true
# Commento is more than just a comments widget you can embed —
# its a return to the roots of the internet.
# An internet without the tracking and invasions of privacy.
# An internet that is simple and lightweight.
# An internet that is focused on interesting discussions, not ads.
# A better internet.
# Uncomment this to enable Commento.
#
# [params.commento]
# url = ""
# Uncomment this if you want a portrait on your start page
#
[params.portrait]
path = "/img/portrait.jfif"
alt = "Portrait"
maxWidth = "50px"
# Social icons
# [[params.social]]
# name = "twitter"
# url = "https://twitter.com/yannickbarbel"
# [[params.social]]
# name = "mastodon"
# url = "https://mastodon.social/@yann64"
# [[params.social]]
# name = "email"
# url = "mailto:yannick.barbel@sfr.fr"
# [[params.social]]
# name = "github"
# url = "https://github.com/yann64"
# [[params.social]]
# name = "linkedin"
# url = "https://www.linkedin.com/in/yannick-barbel-83534525/"
#[[params.social]]
#name = "stackoverflow"
#url = "https://www.stackoverflow.com/"
[languages.fr]
weight = 1
copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
[languages.fr.params]
subtitle = "Le blog des Barbel"
[languages]
[languages.en]
weight = 2
copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
[languages.en.params]
subtitle = "Barbel family's blog"
[menu]
#[[menu.main]]
#identifier = "about"
#name = "About"
#url = "about/"
[[menu.main]]
identifier = "posts"
name = "Posts"
url = "posts/"
[[menu.main]]
identifier = "genealogy"
name = "Généalogie"
url = "webtrees/"
[[menu.main]]
identifier = "minecraft"
name = "Minecraft"
url = "page/minecraft/"
[[menu.main]]
identifier = "computing"
name = "Computing"
url = "page/computing/"

71
config/_default/hugo.toml Normal file
View File

@@ -0,0 +1,71 @@
baseURL = "https://barbel.synology.me"
languageCode = "fr-fr"
title = "Yann64"
theme = "anubis"
paginate = 3
[author]
name = "Yannick Barbel"
[params]
author = "Yannick Barbel"
description = "Yannick Barbel a.k.a Yann64"
dateFormat = "2006-01-02"
paginationSinglePost = true
style = "auto"
readMore = true
readNextPosts = 2
copyCodeButton = true
rssAsSocialIcon = true
mathjax = false
# Graphcomment support
graphcommentId = ""
# utteranc.es support
utterancesRepo = "" # mandatory
utterancesTheme = "" # optional
utterancesIssue = "" # optional
utterancesLabel = "" # optional
# Giscus support
GiscusRepo = "" # mandatory
GiscusRepoId = "" # mandatory
GiscusCategory = "Announcements" # mandatory
GiscusCategoryId = "" # mandatory
GiscusLazyLoad = false # optional
[[params.social]]
id = "mastodon"
url = "https://mastodon.social/@yann64"
[[params.social]]
id = "github"
url = "https://git.barbel.synology.me/yann64"
[menu]
[[menu.main]]
name = "Blog"
identifier = "articles"
url = "/posts/"
weight = 1
[[menu.main]]
name = "Fond Généalogique"
identifier = "genealogie"
url = "/webtrees/"
weight = 2
[[menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags/"
weight = 3
[taxonomies]
category = "categories"
tag = "tags"
[markup.goldmark.renderer]
unsafe = true