add tags and categories

This commit is contained in:
geekifan
2025-04-23 09:21:54 +08:00
parent 4648863457
commit 370180de16
11 changed files with 270 additions and 26 deletions

View File

@ -2,6 +2,10 @@ baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'Chirpy'
[taxonomies]
category = "categories"
tag = "tags"
[module]
[[module.imports]]
path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"
@ -18,6 +22,24 @@ path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"
weight = 20
pre = "fa-solid fa-house"
[[menu.main]]
name = "Categories"
url = "/categories/"
weight = 30
pre = "fa-solid fa-house"
[[menu.main]]
name = "Tags"
url = "/tags/"
weight = 40
pre = "fa-solid fa-house"
[[menu.main]]
name = "Archives"
url = "/archives/"
weight = 50
pre = "fa-solid fa-house"
[params]
theme_version = "5.2.0"
toc = true