summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorIuri <iuricube@gmail.com>2026-01-06 15:39:38 +0100
committerIuri <iuricube@gmail.com>2026-01-06 15:39:38 +0100
commit1ec39606a7b53c74c6a2676c51f1bc7d67bd341d (patch)
tree2dc21c28474fd4b1dd9372ad21e4602a05fe041e /config
parenta023ba9ed7cc6d6da62e54d533ba6dca000db9d6 (diff)
Localization
Diffstat (limited to 'config')
-rw-r--r--config/_default/hugo.toml78
-rw-r--r--config/_default/languages.en.toml49
-rw-r--r--config/_default/languages.it.toml77
-rw-r--r--config/_default/menus.en.toml5
-rw-r--r--config/_default/menus.it.toml74
-rw-r--r--config/_default/params.toml226
6 files changed, 333 insertions, 176 deletions
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml
index 87eb814..d18fd9e 100644
--- a/config/_default/hugo.toml
+++ b/config/_default/hugo.toml
@@ -4,7 +4,7 @@
theme = "blowfish" # UNCOMMENT THIS LINE
baseURL = "https://www.antico.dev/"
-defaultContentLanguage = "en"
+defaultContentLanguage = "it"
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
@@ -19,51 +19,51 @@ enableEmoji = true
# googleAnalytics = "G-XXXXXXXXX"
[pagination]
- pagerSize = 100
+ pagerSize = 100
[imaging]
- anchor = 'Center'
+ anchor = 'Center'
[taxonomies]
- tag = "tags"
- category = "categories"
- author = "authors"
- series = "series"
+ tag = "tags"
+ category = "categories"
+ author = "authors"
+ series = "series"
[sitemap]
- changefreq = 'daily'
- filename = 'sitemap.xml'
- priority = 0.5
+ changefreq = 'daily'
+ filename = 'sitemap.xml'
+ priority = 0.5
[outputs]
- home = ["HTML", "RSS", "JSON"]
+ home = ["HTML", "RSS", "JSON"]
[related]
- threshold = 0
- toLower = false
-
- [[related.indices]]
- name = "tags"
- weight = 100
-
- [[related.indices]]
- name = "categories"
- weight = 100
-
- [[related.indices]]
- name = "series"
- weight = 50
-
- [[related.indices]]
- name = "authors"
- weight = 20
-
- [[related.indices]]
- name = "date"
- weight = 10
-
- [[related.indices]]
- applyFilter = false
- name = 'fragmentrefs'
- type = 'fragments'
- weight = 10
+ threshold = 0
+ toLower = false
+
+ [[related.indices]]
+ name = "tags"
+ weight = 100
+
+ [[related.indices]]
+ name = "categories"
+ weight = 100
+
+ [[related.indices]]
+ name = "series"
+ weight = 50
+
+ [[related.indices]]
+ name = "authors"
+ weight = 20
+
+ [[related.indices]]
+ name = "date"
+ weight = 10
+
+ [[related.indices]]
+ applyFilter = false
+ name = 'fragmentrefs'
+ type = 'fragments'
+ weight = 10
diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml
index 69f1cd4..1cb8624 100644
--- a/config/_default/languages.en.toml
+++ b/config/_default/languages.en.toml
@@ -1,29 +1,34 @@
disabled = false
languageCode = "en"
-languageName = "English"
-weight = 1
+languageName = "english"
+weight = 10
+contentDir = 'content/en'
title = "Iuri Antico"
[params]
- displayName = "EN"
- isoCode = "en"
- rtl = false
- dateFormat = "2 January 2006"
- # logo = "img/logo.png"
- # secondaryLogo = "img/secondary-logo.png"
- # description = "My awesome website"
- # copyright = "Copy, _right?_ :thinking_face:"
+displayName = "English"
+isoCode = "en"
+rtl = false
+dateFormat = "Mon 2 January 2006"
+# logo = "img/logo.png"
+# secondaryLogo = "img/secondary-logo.png"
+# description = "My awesome website"
+# copyright = "Copy, _right?_ :thinking_face:"
-# [params.author]
-# name = "Your name here"
-# email = "youremail@example.com"
-# image = "img/blowfish_logo.png"
-# imageQuality = 96
-# headline = "I'm only human"
-# bio = "A little bit about you"
-# links = [
-# { email = "mailto:hello@your_domain.com" },
-# { link = "https://link-to-some-website.com/" },
+ [params.author]
+ name = "Iuri Antico"
+ email = "iuricube@gmail.com"
+ image = "img/blowfish_logo.png"
+ imageQuality = 96
+ headline = "I'm only human"
+ bio = "A little bit about you"
+ links = [
+ { email = "mailto:iuricube@gmail.com" },
+ { github = "https://github.com/chichibio-savoiardi" },
+ { linkedin = "https://www.linkedin.com/in/iuri-antico-05210a217/" },
+ { steam = "https://steamcommunity.com/id/sphere4779/" },
+ ]
+# { 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/" },
@@ -35,7 +40,6 @@ title = "Iuri Antico"
# { facebook = "https://facebook.com/username" },
# { flickr = "https://www.flickr.com/photos/username/" },
# { foursquare = "https://foursquare.com/username" },
-# { github = "https://github.com/username" },
# { gitlab = "https://gitlab.com/username" },
# { google = "https://www.google.com/" },
# { hashnode = "https://username.hashnode.dev" },
@@ -45,7 +49,6 @@ title = "Iuri Antico"
# { keyoxide = "https://keyoxide.org/URI" },
# { kickstarter = "https://www.kickstarter.com/profile/username" },
# { lastfm = "https://lastfm.com/user/username" },
-# { linkedin = "https://linkedin.com/in/username" },
# { mastodon = "https://mastodon.instance/@username" },
# { matrix = "https://matrix.to/#/URI" },
# { medium = "https://medium.com/username" },
@@ -61,7 +64,6 @@ title = "Iuri Antico"
# { 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" },
@@ -73,4 +75,3 @@ title = "Iuri Antico"
# { youtube = "https://youtube.com/username" },
# { ko-fi = "https://ko-fi.com/username" },
# { codeberg = "https://codeberg.org/username"},
-# ]
diff --git a/config/_default/languages.it.toml b/config/_default/languages.it.toml
new file mode 100644
index 0000000..0f0ae38
--- /dev/null
+++ b/config/_default/languages.it.toml
@@ -0,0 +1,77 @@
+disabled = false
+languageCode = "it"
+languageName = "italian"
+weight = 1
+contentDir = 'content/it'
+title = "Iuri Antico"
+
+[params]
+displayName = "Italiano"
+isoCode = "it"
+rtl = false
+dateFormat = "Mon 2 January 2006"
+# logo = "img/logo.png"
+# secondaryLogo = "img/secondary-logo.png"
+# description = "My awesome website"
+# copyright = "Copy, _right?_ :thinking_face:"
+
+ [params.author]
+ name = "Iuri Antico"
+ email = "iuricube@gmail.com"
+ image = "img/blowfish_logo.png"
+ imageQuality = 96
+ headline = "I'm only human"
+ bio = "A little bit about you"
+ links = [
+ { email = "mailto:iuricube@gmail.com" },
+ { github = "https://github.com/chichibio-savoiardi" },
+ { linkedin = "https://www.linkedin.com/in/iuri-antico-05210a217/" },
+ { steam = "https://steamcommunity.com/id/sphere4779/" },
+ ]
+# { 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://facebook.com/username" },
+# { flickr = "https://www.flickr.com/photos/username/" },
+# { foursquare = "https://foursquare.com/username" },
+# { 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" },
+# { keyoxide = "https://keyoxide.org/URI" },
+# { kickstarter = "https://www.kickstarter.com/profile/username" },
+# { lastfm = "https://lastfm.com/user/username" },
+# { mastodon = "https://mastodon.instance/@username" },
+# { matrix = "https://matrix.to/#/URI" },
+# { 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" },
+# { signal = "https://signal.me/#eu/userid" },
+# { 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" },
+# { 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.en.toml b/config/_default/menus.en.toml
index 579cedd..b89e9df 100644
--- a/config/_default/menus.en.toml
+++ b/config/_default/menus.en.toml
@@ -10,6 +10,11 @@
# overridden by providing a weight value. The menu will then be
# ordered by weight from lowest to highest.
+[[main]]
+ name = "About me"
+ pageRef = "about-me"
+ weight = 1
+
#[[main]]
# name = "Blog"
# pageRef = "posts"
diff --git a/config/_default/menus.it.toml b/config/_default/menus.it.toml
new file mode 100644
index 0000000..6486ca8
--- /dev/null
+++ b/config/_default/menus.it.toml
@@ -0,0 +1,74 @@
+# -- 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 = "Chi sono"
+ pageRef = "about-me"
+ weight = 1
+
+#[[main]]
+# name = "Blog"
+# 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/config/_default/params.toml b/config/_default/params.toml
index d4e3c7a..cefcefe 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -5,13 +5,13 @@
# Refer to the theme docs for more details about each of these parameters.
# https://blowfish.page/docs/configuration/#theme-parameters
-colorScheme = "terminal"
+colorScheme = "github"
defaultAppearance = "dark" # valid options: light or dark
autoSwitchAppearance = true
enableA11y = false
enableSearch = true
-enableCodeCopy = false
+enableCodeCopy = true
replyByEmail = false
@@ -27,9 +27,9 @@ disableTextInHeader = false
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
# defaultSocialImage = "/android-chrome-512x512.png" # used as default for social media sharing (Open Graph and Twitter)
-# highlightCurrentMenuArea = true
-# smartTOC = true
-# smartTOCHideUnfocusedChildren = true
+highlightCurrentMenuArea = true
+smartTOC = true
+smartTOCHideUnfocusedChildren = true
fingerprintAlgorithm = "sha512" # Valid values are "sha512" (default), "sha384", "sha256"
@@ -37,141 +37,141 @@ giteaDefaultServer = "https://git.fsfe.org"
forgejoDefaultServer = "https://v11.next.forgejo.org"
[header]
- layout = "basic" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
+ layout = "fixed-gradient" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
[footer]
- showMenu = true
- showCopyright = true
- showThemeAttribution = true
- showAppearanceSwitcher = true
- showScrollToTop = true
+ showMenu = true
+ showCopyright = true
+ showThemeAttribution = true
+ showAppearanceSwitcher = true
+ showScrollToTop = true
[homepage]
- layout = "profile" # valid options: page, profile, hero, card, background, custom
- #homepageImage = "IMAGE.jpg" # used in: hero, and card
- showRecent = false
- showRecentItems = 5
- showMoreLink = false
- showMoreLinkDest = "/posts/"
- cardView = false
- cardViewScreenWidth = false
- layoutBackgroundBlur = false # only used when layout equals background
- disableHeroImageFilter = false # only used when layout equals hero
+ layout = "profile" # valid options: page, profile, hero, card, background, custom
+ #homepageImage = "IMAGE.jpg" # used in: hero, and card
+ showRecent = false
+ showRecentItems = 5
+ showMoreLink = true
+ showMoreLinkDest = "/posts/"
+ cardView = true
+ cardViewScreenWidth = true
+ layoutBackgroundBlur = false # only used when layout equals background
+ disableHeroImageFilter = false # only used when layout equals hero
[article]
- showDate = true
- showViews = false
- showLikes = false
- showDateOnlyInArticle = false
- showDateUpdated = false
- showAuthor = true
- # showAuthorBottom = false
- showHero = false
- # heroStyle = "basic" # valid options: basic, big, background, thumbAndBackground
- layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
- layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
- showBreadcrumbs = false
- showDraftLabel = true
- showEdit = false
- # editURL = "https://github.com/username/repo/"
- editAppendPath = true
- seriesOpened = false
- showHeadingAnchors = true
- showPagination = true
- invertPagination = false
- showReadingTime = true
- showTableOfContents = false
- # showRelatedContent = false
- # relatedContentLimit = 3
- showTaxonomies = false # use showTaxonomies OR showCategoryOnly, not both
- showCategoryOnly = false # use showTaxonomies OR showCategoryOnly, not both
- showAuthorsBadges = false
- showWordCount = true
- # sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram", "line"]
- showZenMode = false
+ showDate = true
+ showViews = false
+ showLikes = false
+ showDateOnlyInArticle = false
+ showDateUpdated = false
+ showAuthor = true
+ # showAuthorBottom = false
+ showHero = false
+ # heroStyle = "basic" # valid options: basic, big, background, thumbAndBackground
+ layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
+ layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
+ showBreadcrumbs = false
+ showDraftLabel = true
+ showEdit = false
+ # editURL = "https://github.com/username/repo/"
+ editAppendPath = true
+ seriesOpened = false
+ showHeadingAnchors = true
+ showPagination = true
+ invertPagination = false
+ showReadingTime = true
+ showTableOfContents = false
+ # showRelatedContent = false
+ # relatedContentLimit = 3
+ showTaxonomies = false # use showTaxonomies OR showCategoryOnly, not both
+ showCategoryOnly = false # use showTaxonomies OR showCategoryOnly, not both
+ showAuthorsBadges = false
+ showWordCount = true
+ # sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram", "line"]
+ showZenMode = false
[list]
- showHero = false
- # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
- layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
- layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
- showBreadcrumbs = false
- showSummary = false
- showViews = false
- showLikes = false
- showTableOfContents = false
- showCards = false
- orderByWeight = false
- groupByYear = true
- cardView = false
- cardViewScreenWidth = false
- constrainItemsWidth = false
+ showHero = false
+ # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
+ layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
+ layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
+ showBreadcrumbs = false
+ showSummary = false
+ showViews = false
+ showLikes = false
+ showTableOfContents = false
+ showCards = false
+ orderByWeight = false
+ groupByYear = true
+ cardView = false
+ cardViewScreenWidth = false
+ constrainItemsWidth = false
[sitemap]
- excludedKinds = ["taxonomy", "term"]
+ excludedKinds = ["taxonomy", "term"]
[taxonomy]
- showTermCount = true
- showHero = false
- # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
- showBreadcrumbs = false
- showViews = false
- showLikes = false
- showTableOfContents = false
- cardView = false
+ showTermCount = true
+ showHero = false
+ # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
+ showBreadcrumbs = false
+ showViews = false
+ showLikes = false
+ showTableOfContents = false
+ cardView = false
[term]
- showHero = false
- # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
- showBreadcrumbs = false
- showViews = false
- showLikes = false
- showTableOfContents = true
- groupByYear = false
- cardView = false
- cardViewScreenWidth = false
+ showHero = false
+ # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
+ showBreadcrumbs = false
+ showViews = false
+ showLikes = false
+ showTableOfContents = true
+ groupByYear = false
+ cardView = false
+ cardViewScreenWidth = false
[firebase]
- # apiKey = "XXXXXX"
- # authDomain = "XXXXXX"
- # projectId = "XXXXXX"
- # storageBucket = "XXXXXX"
- # messagingSenderId = "XXXXXX"
- # appId = "XXXXXX"
- # measurementId = "XXXXXX"
+ # apiKey = "XXXXXX"
+ # authDomain = "XXXXXX"
+ # projectId = "XXXXXX"
+ # storageBucket = "XXXXXX"
+ # messagingSenderId = "XXXXXX"
+ # appId = "XXXXXX"
+ # measurementId = "XXXXXX"
[fathomAnalytics]
- # site = "ABC12345"
- # domain = "llama.yoursite.com"
+ # site = "ABC12345"
+ # domain = "llama.yoursite.com"
[umamiAnalytics]
- # websiteid = "ABC12345"
- # domain = "llama.yoursite.com"
- # dataDomains = "yoursite.com,yoursite2.com"
- # scriptName = ""
- # enableTrackEvent = true
+ # websiteid = "ABC12345"
+ # domain = "llama.yoursite.com"
+ # dataDomains = "yoursite.com,yoursite2.com"
+ # scriptName = ""
+ # enableTrackEvent = true
[selineAnalytics]
- # token = "XXXXXX"
- # enableTrackEvent = true
+ # token = "XXXXXX"
+ # enableTrackEvent = true
[buymeacoffee]
- # identifier = ""
- # globalWidget = true
- # globalWidgetMessage = "Hello"
- # globalWidgetColor = "#FFDD00"
- # globalWidgetPosition = "Right"
+ # identifier = ""
+ # globalWidget = true
+ # globalWidgetMessage = "Hello"
+ # globalWidgetColor = "#FFDD00"
+ # globalWidgetPosition = "Right"
[verification]
- # google = ""
- # bing = ""
- # pinterest = ""
- # yandex = ""
- # fediverse = ""
+ # google = ""
+ # bing = ""
+ # pinterest = ""
+ # yandex = ""
+ # fediverse = ""
[rssnext]
- # feedId = ""
- # userId = ""
+ # feedId = ""
+ # userId = ""
[advertisement]
- # adsense = ""
+ # adsense = ""