diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-15 15:26:54 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-15 15:26:54 +0200 |
| commit | 7aae17e448e8ea2efde632b7c8064bab6ba2447d (patch) | |
| tree | 7851d028feb0eac65f1d437b737cab941e6654a1 /hugo.toml | |
| parent | 91444174e935dbc1e12862456f2504c5c50892ea (diff) | |
| download | danixxyz-7aae17e448e8ea2efde632b7c8064bab6ba2447d.tar.gz danixxyz-7aae17e448e8ea2efde632b7c8064bab6ba2447d.zip | |
feat: add site configuration with bilingual setup and article types
Diffstat (limited to 'hugo.toml')
| -rw-r--r-- | hugo.toml | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..3dcbe1e --- /dev/null +++ b/hugo.toml @@ -0,0 +1,91 @@ +baseURL = "https://danix.xyz/" +languageCode = "it-IT" +title = "danix.xyz" +theme = "danix-xyz-hacker" +enableRobotsTXT = true +minify.disableXML = false + +# Hugo Pipes +[minify] + minifyOutput = true + +# Languages +[languages] + [languages.it] + languageName = "IT" + contentDir = "content/it" + weight = 1 + [languages.it.params] + locale = "it_IT" + + [languages.en] + languageName = "EN" + contentDir = "content/en" + weight = 2 + [languages.en.params] + locale = "en_US" + +# Main menu +[[menus.main]] + name = "articles" + url = "/articles/" + weight = 1 + +[[menus.main]] + name = "is" + url = "/is/" + weight = 2 + +[[menus.main]] + name = "here" + url = "/is/here/" + weight = 3 + +[[menus.main]] + name = "legal" + url = "/is/legal/" + weight = 4 + +# Theme parameters +[params] + siteName = "danix.xyz" + siteDescription = "Portfolio and blog" + author = "Danilo Macrì" + email = "danix@danix.xyz" + + # Theme options + syntaxHighlight = true + lineNumbers = false + readingTime = true + shareButtons = true + relatedPosts = true + + # Colors + primaryAccent = "#a855f7" + secondaryAccent = "#00ff88" + + # Article types with color mapping + [params.articleTypes.life] + label = "Life" + color_dark = "#f59e0b" + color_light = "#d97706" + + [params.articleTypes.photo] + label = "Photo" + color_dark = "#ec4899" + color_light = "#be185d" + + [params.articleTypes.link] + label = "Link" + color_dark = "#38bdf8" + color_light = "#0284c7" + + [params.articleTypes.quote] + label = "Quote" + color_dark = "#00ff88" + color_light = "#008f5a" + + [params.articleTypes.tech] + label = "Tech" + color_dark = "#a855f7" + color_light = "#7c3aed" |
