feat: add tags to post pages (#193)
This commit is contained in:
parent
95417625bb
commit
3f296625fb
13 changed files with 203 additions and 29 deletions
|
@ -29,6 +29,9 @@ enableGitInfo = true
|
|||
startLevel = 1
|
||||
endLevel = 9
|
||||
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
|
||||
[params]
|
||||
# (Optional, default 6) Set how many table of contents levels to be showed on page.
|
||||
# Use false to hide ToC, note that 0 will default to 6 (https://gohugo.io/functions/default/)
|
||||
|
@ -97,6 +100,9 @@ enableGitInfo = true
|
|||
|
||||
# (Optional, default true) Display a "Back to top" link in the site footer.
|
||||
geekdocBackToTop = true
|
||||
|
||||
# (Optional, default false) Enable or disable adding tags for post pages automatically to the navigation sidebar.
|
||||
geekdocTagsToMenu = true
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
@ -123,6 +129,9 @@ markup:
|
|||
startLevel: 1
|
||||
endLevel: 9
|
||||
|
||||
taxonomies:
|
||||
tag: tags
|
||||
|
||||
params:
|
||||
# (Optional, default 6) Set how many table of contents levels to be showed on page.
|
||||
# Use false to hide ToC, note that 0 will default to 6 (https://gohugo.io/functions/default/)
|
||||
|
@ -196,6 +205,9 @@ params:
|
|||
|
||||
# (Optional, default true) Display a "Back to top" link in the site footer.
|
||||
geekdocBackToTop: true
|
||||
|
||||
# (Optional, default false) Enable or disable adding tags for post pages automatically to the navigation sidebar.
|
||||
geekdocTagsToMenu: true
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue