MeiK2333 / github-style

https://themes.gohugo.io/themes/github-style
MIT License
533 stars 173 forks source link

能够支持标签分栏的功能吗 #119

Closed rainofsilence closed 1 year ago

rainofsilence commented 1 year ago

我想将文章打上不同的标签能够在不同的标签目录下展示要怎么做呢

kurt-liao commented 1 year ago

Hi @rainofsilence ,

I'm not very sure what the actual behavior you expect, but if you need the tag filter, just follow the steps below.

  1. Add tags property in your post markdown file. 2022-09-01_10-12

  2. In home page, you can see tags display in every post. 2022-09-01_11-22

  3. In posts page, you can see a tag list on the top of post list. 2022-09-01_11-23

  4. And you can click on the tag for filtering. 2022-09-01_11-34

Take a look and try it on my site: https://blog.kurtstories.com/

BTW, you may confused about some features that is not in this repo, that's because I create the fork from this and support additional features. For more information, feel free to take a look at my fork version: https://github.com/kurt-liao/github-style-plus

rainofsilence commented 1 year ago

Thank you, @kurt-liao. I'll give it a try.