ppoffice / hexo-theme-icarus

A simple, delicate, and modern theme for the static site generator Hexo.
https://ppoffice.github.io/hexo-theme-icarus/
MIT License
6.39k stars 1.55k forks source link

How to remove # symbol from the tags page? #67

Closed 201507 closed 8 years ago

201507 commented 8 years ago

Hello!

I mean this symbol:

2015-12-01 21 40 54

Thank you in advance for your help.

ppoffice commented 8 years ago

Tags are generated by Hexo's tagcloud function:

But Hexo doesn't provide an option for removing #. So I think the best solution is using JavaScript to process results of tagcloud and trim down #.

201507 commented 8 years ago

@ppoffice, thanks for your reply. Tell me, please, how to do it using JavaScript?

PhiLhoSoft commented 8 years ago

Curiously, the tag cloud on the side column doesn't show these hashtags...

online commented 8 years ago

@PhiLhoSoft, I agree with you :+1:

ppoffice commented 8 years ago

@PhiLhoSoft @online Sorry, my mistake... There is a style controls the #: https://github.com/ppoffice/hexo-theme-icarus/blob/250600d06e38f7b3a5b34c4c640298da43c4e6ab/source/css/_partial/archive.styl#L112

online commented 8 years ago

@ppoffice, thank you very much for your help :wink: