Skip to content

Commit

Permalink
content(fix): move menu configuration into content files
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Aug 25, 2024
1 parent 1f96011 commit 06b6f6b
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 63 deletions.
53 changes: 0 additions & 53 deletions config/_default/menu.toml

This file was deleted.

10 changes: 0 additions & 10 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,6 @@ show_tag_as_version = true
show_release_as_version = true
repository = "https://github.com/davidsneighbour/kollitsch.dev"

# [[dnb.theme.footer.menus]]
# slug = "configurations"
# name = "Configurations"
# [[dnb.theme.footer.menus]]
# slug = "hugomodules"
# name = "GoHugo Modules"
# [[dnb.theme.footer.menus]]
# slug = "projects"
# name = "Projects"

[dnb.theme.colors]
primary = "#d02d19"

Expand Down
11 changes: 11 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
---
hasSitemap: false
linkTitle: Home
menu:
main:
weight: 1
params:
bsicon: house-fill
hotkey: k+h

footer:
weight: 1
params:
bsicon: house-fill
---
5 changes: 5 additions & 0 deletions content/connect/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ menu:
params:
bsicon: envelope-paper-fill
hotkey: k+c
footer:
name: Contact
weight: 900
params:
bsicon: envelope-paper-fill

type: page
lastmod: 2022-07-28T21:20:06+07:00
Expand Down
6 changes: 6 additions & 0 deletions content/gohugo/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ cascade:
config:
band: gohugo
overviewLabel: "All components"
menu:
footer:
name: Components
weight: 400
params:
bsicon: puzzle-fill
---

[I am the creator](https://www.youtube.com/watch?v=r2Xhlb0bRXg) of a bunch of [GoHugo](https://gohugo.io) modules that you can use to optimize your projects.
8 changes: 8 additions & 0 deletions content/tags/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Tags
menu:
footer:
weight: 00
params:
bsicon: tags-fill
---

0 comments on commit 06b6f6b

Please sign in to comment.