summaryrefslogtreecommitdiffstats
path: root/hugo.toml
blob: 7e63a2b5508c52c08371f462c758f7e8b27cca6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
baseURL = "https://danix.xyz/"
languageCode = "it-IT"
title = "danix.xyz"
theme = "danix-xyz-hacker"
enableRobotsTXT = true

# Hugo Pipes
[minify]
  minifyOutput = false
  disableXML = false

# Languages
[languages]
  [languages.it]
    languageName = "IT"
    contentDir = "content/it"
    weight = 1
    [languages.it.params]
      locale = "it_IT"
      siteDescription = "Blatero di varie cose."

    # Italian menu with language-aware links
    [[languages.it.menus.main]]
      identifier = "articles"
      pageRef = "/articles"
      name = "articles"
      weight = 1

    [[languages.it.menus.main]]
      identifier = "about"
      pageRef = "/is"
      name = "about"
      weight = 2

    [[languages.it.menus.main]]
      identifier = "contact"
      pageRef = "/is/here"
      name = "here"
      weight = 3

    [[languages.it.menus.main]]
      identifier = "repository"
      pageRef = "/repository"
      name = "repo"
      weight = 4

    [[languages.it.menus.main]]
      identifier = "legal"
      pageRef = "/is/legal"
      name = "legal"
      weight = 5

  [languages.en]
    languageName = "EN"
    contentDir = "content/en"
    weight = 2
    [languages.en.params]
      locale = "en_US"
      siteDescription = "I ramble about stuff."

    # English menu with language-aware links
    [[languages.en.menus.main]]
      identifier = "articles"
      pageRef = "/articles"
      name = "articles"
      weight = 1

    [[languages.en.menus.main]]
      identifier = "about"
      pageRef = "/is"
      name = "about"
      weight = 2

    [[languages.en.menus.main]]
      identifier = "contact"
      pageRef = "/is/here"
      name = "here"
      weight = 3

    [[languages.en.menus.main]]
      identifier = "repository"
      pageRef = "/repository"
      name = "repo"
      weight = 4

    [[languages.en.menus.main]]
      identifier = "legal"
      pageRef = "/is/legal"
      name = "legal"
      weight = 5

# Taxonomies
[taxonomies]
  tag = "tags"
  category = "categories"

# Theme parameters
[params]
  siteName = "danix.xyz"
  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"

[[redirects]]
  from = '/it/**'
  to = '/it/404.html'
  status = 404

[[redirects]]
  from = '/**'
  to = '/404.html'
  status = 404