-
Notifications
You must be signed in to change notification settings - Fork 192
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
Add support for tags to blog posts #503
base: main
Are you sure you want to change the base?
Conversation
I tried to do this with a new |
related to #98 |
@swift-ci please test |
@shahmishal can I get a review on this? |
The website workgroup discussed this topic last week, and it's a great idea. The next steps:
@dempseyatgithub had previously worked on identifying each blog post; he was planning on digging up old notes. |
I think it would be good to handle this in a subsequent PR, I'm not a web dev and It might take me (or anyone else) some time to implement that feature. I think the tags have value without having search immediately |
Adds simple tag bubbles that can be added to blog posts. In the future we may want to make these selectable for filtering and include a search bar as was done for swift-evolution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good on desktop. On mobile I think we should consider the layout a bit more.
flex-direction: row; | ||
/* Allow tags to wrap to additional lines */ | ||
flex-wrap: wrap; | ||
/* Add a small gap between additional lines */ | ||
gap: 0.4em; | ||
/* Align to trailing edge */ | ||
justify-content: flex-end; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove these comments as they do not add additional insight that the styles aren't already telling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rauhul If you want I can push these changes after getting this merged to unblock this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's revisit this as part of the next version of the site that is currently underway. |
Adds simple tag bubbles that can be added to blog posts. In the future we may want to make these selectable for filtering and include a search bar as was done for swift-evolution.
Before:
After: