how to use the catogories and tags function like demo? #939
-
i didn't find a introduction of the catogories and tags function,but i see they existed in the demo.can anyone tell me how to open it ?like archive function has a achive.md, are there something i should write in the tags.md or catogories.md? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
i solved it .to use both u should create files in And both write like --- title: "database" layout: "categories" --- by the way i still confused that i did not find a into about this. |
Beta Was this translation helpful? Give feedback.
-
@visajiandrevv https://gohugo.io/content-management/taxonomies should explain this. |
Beta Was this translation helpful? Give feedback.
i solved it .to use both u should create files in
/content/tags/index.md and /content/categories/index.md
And both write like
by the way i still confused that i did not find a into about this.