Repository navigation
Commit 27dfe61
lzm
feat(blog): enable 'series' taxonomy
Hugo's default taxonomies (categories, tags) are preserved by listing
them explicitly alongside the new series entry:
taxonomies:
category: categories
tag: tags
series: series
With this, a post can declare 'series: [Hugo折腾笔记]' in front
matter and Hugo will auto-generate /series/<slug>/ landing pages via
PaperMod's existing taxonomy.html — no custom list template needed.
Archetype picks up a commented '# series: []' example so the next
'hugo new posts/...' session shows the field without having to read
this commit message.1 parent 57da574 commit 27dfe61
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
| |||
0 commit comments