Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply better style for taxonomy terms #158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

antiagainst
Copy link
Contributor

  • Grouped terms like a cloud instead of scattering each term on
    its own line
  • Used a leading icon to make different taxonomy kinds
    distinguishable
  • Also showed the page count matching each term as superscript

Fixes #125

- Grouped terms like a cloud instead of scattering each term on
  its own line
- Used a leading icon to make different taxonomy kinds
  distinguishable
- Also showed the page count matching each term as superscript
@antiagainst
Copy link
Contributor Author

I'm using this on my blog right now. See examples:

We can probably improve the style further, but this is a good starting point already I think.

@wangchucheng
Copy link
Owner

Hi @antiagainst,

Thanks for this PR! It looks great and I may be able to review it this weekend. And do you think we need to add specific icon for these three terms? The style will not be consistent if the user adds some custom taxonomy. Sorry for the delay!

@antiagainst
Copy link
Contributor Author

IIUC these three are the default categories from Hugo so I think it's reasonable to have special icons for them. But good point on additional taxonomies. I think we can have a default icon for all of the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better style for categories/tags page
2 participants