202 lines (171 loc) · 4.79 KB
  1baseURL = 'https://tenyoru.me/'
  2locale = 'en-us'
  3title = 'Tenyoru'
  4defaultContentLanguage = "en"
  5defaultContentLanguageInSubdir = false
  6capitalizeListTitles = false
  7
  8[languages]
  9  [languages.en]
 10    weight = 1
 11  [languages.fr]
 12    weight = 2
 13  [languages.ru]
 14    weight = 3
 15
 16# ---------------------------------------------------------------------------
 17# Outputs
 18# Generates static/_headers as a Hugo output (see layouts/index.headers) so
 19# it can reference the current build's fingerprinted CSS URL for the Link
 20# preload header - a plain static/_headers file can't see that hash.
 21# ---------------------------------------------------------------------------
 22
 23[mediaTypes."text/netlify"]
 24delimiter = ""
 25suffixes = []
 26
 27[outputFormats.Headers]
 28mediaType = "text/netlify"
 29baseName = "_headers"
 30isPlainText = true
 31notAlternative = true
 32
 33[outputs]
 34home = ["HTML", "RSS", "Headers"]
 35
 36# ---------------------------------------------------------------------------
 37# Mounts
 38# First five mounts = Hugo defaults (declaring any mount disables them).
 39# The rest expose the site's own sources under assets/src/ for /src/.
 40# ---------------------------------------------------------------------------
 41
 42[module]
 43  [[module.mounts]]
 44    source = "content"
 45    target = "content"
 46  [[module.mounts]]
 47    source = "layouts"
 48    target = "layouts"
 49  [[module.mounts]]
 50    source = "assets"
 51    target = "assets"
 52  [[module.mounts]]
 53    source = "static"
 54    target = "static"
 55  [[module.mounts]]
 56    source = "archetypes"
 57    target = "archetypes"
 58  [[module.mounts]]
 59    source = "content"
 60    target = "assets/src/content"
 61  [[module.mounts]]
 62    source = "layouts"
 63    target = "assets/src/layouts"
 64  [[module.mounts]]
 65    source = "assets"
 66    target = "assets/src/assets"
 67  [[module.mounts]]
 68    source = "hugo.toml"
 69    target = "assets/src/hugo.toml"
 70
 71# ---------------------------------------------------------------------------
 72# Markup
 73# ---------------------------------------------------------------------------
 74
 75[markup.goldmark.renderer]
 76unsafe = true
 77
 78# Chroma classes are styled in assets/scss/components/_chroma.scss
 79[markup.highlight]
 80noClasses = false
 81style = "monokai"
 82
 83[security]
 84  enableInlineShortcodes = true
 85
 86[caches]
 87  [caches.images]
 88    dir = ':cacheDir/images'
 89
 90# ---------------------------------------------------------------------------
 91# Menus (Tags is intentionally not here - it's a small link in the blog header)
 92# ---------------------------------------------------------------------------
 93
 94[menus]
 95  [[menus.main]]
 96    name = 'Blog'
 97    url = '/blog/'
 98    weight = 10
 99
100  [[menus.main]]
101    name = 'Photos'
102    url = '/photos/'
103    weight = 25
104
105  [[menus.main]]
106    name = 'Contact'
107    url = '/contact/'
108    weight = 30
109
110# ---------------------------------------------------------------------------
111# Site params
112# ---------------------------------------------------------------------------
113
114[params]
115description = "A personal corner for engineering notes, writing, and new collaborations"
116r2BaseURL = "https://assets.tenyoru.me"
117r2Transforms = true
118r2Thumb = "cdn-cgi/image/width=600,format=webp"
119
120[params.banner]
121enabled = true
122text = "This site is under construction."
123
124[params.footer]
125credits = "© 2026 Tenyoru"
126
127[params.license]
128name = "CC BY 4.0"
129url = "https://creativecommons.org/licenses/by/4.0/"
130
131[params.repo]
132url = "https://github.com/tenyoru/site"
133
134[params.contact.contacts]
135
136  [[params.contact.contacts.items]]
137  label = "Email"
138  value = "[email protected]"
139  url = "mailto:[email protected]"
140  icon = "mail"
141
142  [[params.contact.contacts.items]]
143  label = "Telegram"
144  value = "@tenyoru"
145  url = "https://t.me/tenyoru"
146  icon = "telegram"
147
148  [[params.contact.contacts.items]]
149  label = "WhatsApp"
150  value = "Available if you already have my number"
151  icon = "whatsapp"
152
153  [[params.contact.contacts.items]]
154  label = "Discord"
155  value = "tenyoru (I check it rarely)"
156  url = "https://discord.com/users/1426989845053440144"
157  icon = "discord"
158
159[[params.media]]
160label = "GitHub"
161value = "tenyoru"
162url = "https://github.com/tenyoru"
163icon = "github"
164
165[[params.media]]
166label = "YouTube"
167value = "@tenyoru"
168url = "https://youtube.com/@tenyoru"
169icon = "youtube"
170
171# [[params.media]]
172# label = "Bluesky"
173# value = "@tenyoru.me"
174# url = "https://bsky.app/profile/tenyoru.me"
175# icon = "bluesky"
176#
177# [[params.media]]
178# label = "Mastodon"
179# value = "@[email protected]"
180# url = "https://mastodon.social/@tenyoru"
181# icon = "mastodon"
182#
183# [[params.projects]]
184# name = "topo.love"
185# desc = "Past side project"
186# url = "https://topo.love"
187# icon = "topo"
188
189[params.giscus]
190repo = "tenyoru/Tenyoru.github.io"
191repoID = "R_kgDOP75SYA"
192category = "Announcements"
193categoryID = "DIC_kwDOP75SYM4CwgqS"
194mapping = "pathname"
195strict = "0"
196reactionsEnabled = "1"
197emitMetadata = "0"
198inputPosition = "bottom"
199theme = "preferred_color_scheme"
200lang = "en"
201themeLight = "light"
202themeDark = "dark"