From bc76ed80bb3df3e8d5bb24d5840ec048434485d7 Mon Sep 17 00:00:00 2001 From: Drew Bowering Date: Fri, 13 Jun 2025 14:51:15 -0600 Subject: [PATCH] add French language to site --- config/_default/languages.fr.toml | 73 +++++++++++++++++++ config/_default/menus.fr.toml | 69 ++++++++++++++++++ .../new-website/{index.md => index.en.md} | 0 3 files changed, 142 insertions(+) create mode 100644 config/_default/languages.fr.toml create mode 100644 config/_default/menus.fr.toml rename content/posts/new-website/{index.md => index.en.md} (100%) diff --git a/config/_default/languages.fr.toml b/config/_default/languages.fr.toml new file mode 100644 index 0000000..a0cad6b --- /dev/null +++ b/config/_default/languages.fr.toml @@ -0,0 +1,73 @@ +disabled = false +languageCode = "fr" +languageName = "Français" +weight = 2 +title = "Drew Bowering" + +[params] + displayName = "FR" + isoCode = "fr" + rtl = false + dateFormat = "2 January 2006" + logo = "img/d-bca_logo_light.png" + secondaryLogo = "img/d-bca_logo_dark.png" + description = "Drew Bowering's personal website" + # copyright = "Copy, _right?_ :thinking_face:" + +[params.author] + name = "Drew Bowering" +# email = "drew@d-b.ca" + image = "img/DrewBowering.jpg" +# imageQuality = 96 + headline = "Architecte informatique, Développeur, Canoeiste, Tubiste" +# bio = "A little bit about me" + links = [ + { email = "mailto:drew@d-b.ca" }, +# { link = "https://link-to-some-website.com/" }, +# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, +# { apple = "https://www.apple.com" }, +# { blogger = "https://username.blogspot.com/" }, +# { bluesky = "https://bsky.app/profile/username" }, +# { codepen = "https://codepen.io/username" }, +# { dev = "https://dev.to/username" }, +# { discord = "https://discord.gg/invitecode" }, +# { dribbble = "https://dribbble.com/username" }, + { facebook = "https://www.facebook.com/drew.bowering" }, +# { flickr = "https://www.flickr.com/photos/username/" }, +# { foursquare = "https://foursquare.com/username" }, + { github = "https://github.com/drewbowering" }, +# { gitlab = "https://gitlab.com/username" }, +# { google = "https://www.google.com/" }, +# { hashnode = "https://username.hashnode.dev" }, +# { instagram = "https://instagram.com/username" }, +# { itch-io = "https://username.itch.io" }, +# { keybase = "https://keybase.io/username" }, +# { kickstarter = "https://www.kickstarter.com/profile/username" }, +# { lastfm = "https://lastfm.com/user/username" }, + { linkedin = "https://www.linkedin.com/in/drew-bowering/" }, +# { mastodon = "https://mastodon.instance/@username" }, +# { medium = "https://medium.com/username" }, +# { microsoft = "https://www.microsoft.com/" }, +# { orcid = "https://orcid.org/userid" }, +# { patreon = "https://www.patreon.com/username" }, +# { pinterest = "https://pinterest.com/username" }, +# { reddit = "https://reddit.com/user/username" }, +# { researchgate = "https://www.researchgate.net/profile/username" }, +# { slack = "https://workspace.url/team/userid" }, +# { snapchat = "https://snapchat.com/add/username" }, +# { soundcloud = "https://soundcloud.com/username" }, +# { spotify = "https://open.spotify.com/user/userid" }, +# { stack-overflow = "https://stackoverflow.com/users/userid/username" }, +# { steam = "https://steamcommunity.com/profiles/userid" }, +# { telegram = "https://t.me/username" }, +# { threads = "https://www.threads.net/@username" }, +# { tiktok = "https://tiktok.com/@username" }, +# { tumblr = "https://username.tumblr.com" }, +# { twitch = "https://twitch.tv/username" }, +# { twitter = "https://twitter.com/username" }, +# { x-twitter = "https://twitter.com/username" }, +# { whatsapp = "https://wa.me/phone-number" }, +# { youtube = "https://youtube.com/username" }, +# { ko-fi = "https://ko-fi.com/username" }, +# { codeberg = "https://codeberg.org/username"}, + ] diff --git a/config/_default/menus.fr.toml b/config/_default/menus.fr.toml new file mode 100644 index 0000000..40889ae --- /dev/null +++ b/config/_default/menus.fr.toml @@ -0,0 +1,69 @@ +# -- Main Menu -- +# The main menu is displayed in the header at the top of the page. +# Acceptable parameters are name, pageRef, page, url, title, weight. +# +# The simplest menu configuration is to provide: +# name = The name to be displayed for this menu link +# pageRef = The identifier of the page or section to link to +# +# By default the menu is ordered alphabetically. This can be +# overridden by providing a weight value. The menu will then be +# ordered by weight from lowest to highest. + +[[main]] + name = "Posts" + pageRef = "posts" + weight = 10 + +#[[main]] +# name = "Parent" +# weight = 20 + +#[[main]] +# name = "example sub-menu 1" +# parent = "Parent" +# pageRef = "posts" +# weight = 20 + +#[[main]] +# name = "example sub-menu 2" +# parent = "Parent" +# pageRef = "posts" +# weight = 20 + +#[[subnavigation]] +# name = "An interesting topic" +# pageRef = "tags/interesting-topic" +# weight = 10 + +#[[subnavigation]] +# name = "My Awesome Category" +# pre = "github" +# pageRef = "categories/awesome" +# weight = 20 + +#[[main]] +# name = "Categories" +# pageRef = "categories" +# weight = 20 + +#[[main]] +# name = "Tags" +# pageRef = "tags" +# weight = 30 + + +# -- Footer Menu -- +# The footer menu is displayed at the bottom of the page, just before +# the copyright notice. Configure as per the main menu above. + + +# [[footer]] +# name = "Tags" +# pageRef = "tags" +# weight = 10 + +# [[footer]] +# name = "Categories" +# pageRef = "categories" +# weight = 20 diff --git a/content/posts/new-website/index.md b/content/posts/new-website/index.en.md similarity index 100% rename from content/posts/new-website/index.md rename to content/posts/new-website/index.en.md