summaryrefslogtreecommitdiffstats
path: root/hugo.toml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-05 08:33:04 +0200
committerDanilo M. <danix@danix.xyz>2026-04-05 08:33:04 +0200
commitd76c946248b6c7133cbc0ecd0cb402a728a410fc (patch)
tree1416b1709a98d3a2752f0524d3743f5a34fd6872 /hugo.toml
parent799bd2304a82d35991876d42fc32a8b8be978da1 (diff)
downloaddanixxyz-theme-d76c946248b6c7133cbc0ecd0cb402a728a410fc.tar.gz
danixxyz-theme-d76c946248b6c7133cbc0ecd0cb402a728a410fc.zip
config: set up sections, menus, and chroma highlighting
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml62
1 files changed, 43 insertions, 19 deletions
diff --git a/hugo.toml b/hugo.toml
index 59cbe11..b49f651 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -1,24 +1,48 @@
-baseURL = 'https://example.org/'
+baseURL = 'https://danix.xyz/'
+languageCode = 'en-US'
+title = 'danilo m.'
locale = 'en-US'
-title = 'My New Hugo Project'
-[menus]
- [[menus.main]]
- name = 'Home'
- pageRef = '/'
- weight = 10
+# Sections
+[outputs]
+ home = ['HTML', 'RSS']
+ section = ['HTML']
+ page = ['HTML']
- [[menus.main]]
- name = 'Posts'
- pageRef = '/posts'
- weight = 20
+[markup]
+ [markup.highlight]
+ codeFences = true
+ lineNos = false
+ guessSyntax = false
+ hl_Lines = ""
+ hl_inline = false
+ tabWidth = 2
+ # Style: use 'monokai' as base and customize in CSS
+ style = 'monokai'
+ noClasses = false
+ [markup.tableOfContents]
+ endLevel = 3
+ ordered = false
+ startLevel = 2
- [[menus.main]]
- name = 'Tags'
- pageRef = '/tags'
- weight = 30
+# Menus
+[[menu.main]]
+ name = 'articles'
+ pageRef = '/articles'
+ weight = 10
-[module]
- [module.hugoVersion]
- extended = false
- min = '0.146.0'
+[[menu.main]]
+ name = 'about'
+ pageRef = '/is'
+ weight = 20
+
+[[menu.main]]
+ name = 'contact'
+ pageRef = '/is/here'
+ weight = 30
+
+# Content sections
+[params]
+ description = 'Writing about IT, life, and the things that matter.'
+ author = 'Danilo M.'
+ avatar = 'DM' # Can be image path or initials