Skip to content

Apply better style for taxonomy terms - #158

Open
antiagainst wants to merge 1 commit into
wangchucheng:mainfrom
antiagainst:better-taxonomy-terms
Open

Apply better style for taxonomy terms#158
antiagainst wants to merge 1 commit into
wangchucheng:mainfrom
antiagainst:better-taxonomy-terms

Conversation

@antiagainst

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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