diff --git a/config/_default/config.toml b/config/_default/config.toml index fee21c5..30b9b74 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -1,77 +1,217 @@ -baseurl = "https://barbel.synology.me" -title = "Mon Blog" +baseURL = "https://barbel.synology.me" +title = "Yann64's blog" languageCode = "fr-fr" -theme = "hello-friend-ng" -paginate = 10 +theme = "hello-friend-ng" -[params] - dateform = "2 Jan 2006" - dateformShort = "2 Jan" - dateformNum = "02-01-2006" - dateformNumTime = "02-01-2006 15:04" +PygmentsCodeFences = true +PygmentsStyle = "monokai" - # Subtitle for home - homeSubtitle = "Le blog de la famille Barbel" +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. - # Set disableReadOtherPosts to true in order to hide the links to other posts. - disableReadOtherPosts = false +# googleAnalytics = "" +# disqusShortname = "" - # Enable sharing buttons, if you like - enableSharingButtons = true - - # Show a global language switcher in the navigation bar - enableGlobalLanguageMenu = true +archetypeDir = "archetypes" +contentDir = "content" +dataDir = "data" +layoutDir = "layouts" +publishDir = "public" - # Metadata mostly used in document's head - description = "Yann64's Blog" - images = [""] +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] - category = "blog" - tag = "tags" - series = "series" + 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 = "misc content from Yannick Barbel a.k.a. Yann64" + keywords = "" + images = [""] + + # Home subtitle of the index page. + # + homeSubtitle = "Misc stuff" + + # 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 = false + + # 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 — + # it’s 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] [languages.en] - title = "Les Barbel" + weight = 1 copyright = 'CC BY-NC 4.0' - [languages.en.params] - keywords = "computing, minecraft, genealogy" - subtitle = "Barbel family's blog" - readOtherPosts = "Read other posts" - - [languages.en.params.logo] - logoText = "return home" - logoHomeLink = "/en" - # or - # - # path = "/img/your-example-logo.svg" - # alt = "Your example logo alt text" + subtitle = "Hello Friend NG Theme" [languages.fr] - title = "Les Barbel" + weight = 2 copyright = 'CC BY-NC 4.0' - [languages.fr.params] - keywords = "informatique, minecraft, généalogie" - subtitle = "Le blog de la famille Barbel" - readOtherPosts = "Lire d'autres publications" + subtitle = "Hello Friend NG Theme" - [languages.fr.params.logo] - logoText = "retour à l'accueil" - logoHomeLink = "/fr" - - # And you can even create generic menu +[menu] + #[[menu.main]] + #identifier = "about" + #name = "About" + #url = "about/" [[menu.main]] - identifier = "blog" - name = "Blog" - url = "/posts" + identifier = "posts" + name = "Posts" + url = "posts/" [[menu.main]] identifier = "minecraft" name = "Minecraft" - url = "/pages/minecraft" + url = "page/minecraft/" [[menu.main]] - identifier = "dev" + identifier = "computing" name = "Computing" - url = "/pages/computing" + url = "page/computing/" diff --git a/content/img/portrait.jfif b/content/img/portrait.jfif new file mode 100644 index 0000000..20477eb Binary files /dev/null and b/content/img/portrait.jfif differ diff --git a/content/page/_default.en.md b/content/page/_default.en.md new file mode 100644 index 0000000..e69de29 diff --git a/content/page/_default.fr.md b/content/page/_default.fr.md new file mode 100644 index 0000000..e69de29 diff --git a/content/pages/computing/index.en.md b/content/page/computing/index.en.md similarity index 98% rename from content/pages/computing/index.en.md rename to content/page/computing/index.en.md index be93a7f..6f3caf8 100644 --- a/content/pages/computing/index.en.md +++ b/content/page/computing/index.en.md @@ -18,5 +18,4 @@ draft: false - Haiku : https://git.barbel.synology.me/haiku - Haiku Archive : https://git.barbel.synology.me/haikuarchives - Haikuports : https://git.barbel.synology.me/haikuports -- Old BeOS site mirror : https://barbel.synology.me/museum/beos/index.html - +- Old BeOS site mirror : https://barbel.synology.me/museum/beos/ diff --git a/content/pages/computing/index.fr.md b/content/page/computing/index.fr.md similarity index 92% rename from content/pages/computing/index.fr.md rename to content/page/computing/index.fr.md index 90cb944..bf06563 100644 --- a/content/pages/computing/index.fr.md +++ b/content/page/computing/index.fr.md @@ -7,7 +7,7 @@ category: "informatique" draft: false --- -## Private git hosting +## Dépôts git personnels - Instance Gitea privée : https://git.barbel.synology.me/ @@ -18,5 +18,4 @@ draft: false - Haiku : https://git.barbel.synology.me/haiku - Haiku Archive : https://git.barbel.synology.me/haikuarchives - Haikuports : https://git.barbel.synology.me/haikuports -- Mirroir de l'ancien site de BeOS : https://barbel.synology.me/museum/beos/index.html - +- Mirroir de l'ancien site de BeOS : https://barbel.synology.me/museum/beos/ diff --git a/content/pages/minecraft/index.en.md b/content/page/minecraft/index.en.md similarity index 99% rename from content/pages/minecraft/index.en.md rename to content/page/minecraft/index.en.md index 0ea51d7..63b1c2d 100644 --- a/content/pages/minecraft/index.en.md +++ b/content/page/minecraft/index.en.md @@ -17,5 +17,3 @@ draft: false - Survival : barbel.synology.me:19132 - Creative : barbel.synology.me:19134 - - diff --git a/content/pages/minecraft/index.fr.md b/content/page/minecraft/index.fr.md similarity index 100% rename from content/pages/minecraft/index.fr.md rename to content/page/minecraft/index.fr.md diff --git a/content/post/_index.en.md b/content/posts/_index.en.md similarity index 100% rename from content/post/_index.en.md rename to content/posts/_index.en.md diff --git a/content/post/_index.fr.md b/content/posts/_index.fr.md similarity index 100% rename from content/post/_index.fr.md rename to content/posts/_index.fr.md diff --git a/content/post/hello.en.md b/content/posts/hello.en.md similarity index 100% rename from content/post/hello.en.md rename to content/posts/hello.en.md diff --git a/content/post/hello.fr.md b/content/posts/hello.fr.md similarity index 100% rename from content/post/hello.fr.md rename to content/posts/hello.fr.md