wujun234 / hexo-theme-tree

MIT License
207 stars 62 forks source link

Updated tags.ejs && categories.ejs #71

Closed ramazanaltintop closed 8 months ago

ramazanaltintop commented 8 months ago

Updated tags.ejs && categories.ejs.

tags_categories

wujun234 commented 8 months ago

change from a list to one line? what's the purpose?

ramazanaltintop commented 8 months ago

It wasn't visible how many tags and categories there were on my website. Additionally, tags and categories were not listed.

wujun234 commented 8 months ago

It wasn't visible how many tags and categories there were on my website. Additionally, tags and categories were not listed.

can u share ur display before the change? mine looks as expected

image image

ramazanaltintop commented 8 months ago

Unfortunately it looks empty. tags & categories preview

wujun234 commented 8 months ago

Unfortunately it looks empty. tags & categories preview

anyways, since u can get the value by using site.tags instead of site.tags.data, so the point is still changed from the list to one line, correct?

ramazanaltintop commented 8 months ago

Unfortunately it looks empty. tags & categories preview

anyways, since u can get the value by using site.tags instead of site.tags.data, so the point is still changed from the list to one line, correct?

Yes, that's correct.

wujun234 commented 8 months ago

also added support for Turkish, correct me if i'm wrong

wujun234 commented 8 months ago

I still prefer the list, so added a config to support your demands, try this

style:
  tags:
    # support line, list; default list
    display: line
  categories:
    # support line, list; default list
    display: line

image

ramazanaltintop commented 8 months ago

I still prefer the list, so added a config to support your demands, try this

style:
  tags:
    # support line, list; default list
    display: line
  categories:
    # support line, list; default list
    display: line

image

Thank you, it's very nice.