add sidebar

This commit is contained in:
geekifan
2025-04-20 14:29:17 +08:00
parent 5949dc786b
commit a3fa903a3e
3 changed files with 54 additions and 2 deletions

View File

@ -1,3 +1,19 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
[module]
[[module.imports]]
path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"
[[menu.main]]
name = "首页"
url = "/"
weight = 10
pre = "fa-solid fa-house"
[[menu.main]]
name = "关于"
url = "/about/"
weight = 20
pre = "fa-solid fa-house"