Skip to content

Conversation

@olierxleben
Copy link
Collaborator

@olierxleben olierxleben commented Feb 23, 2023

Added tag handling to Astro files and displaying them on index and snippets page. I added defensive handling in BlogCard (if no tags are set, no tags are displayed.

image

comments or suggestions are very welcome

closes #5

added tags to fontmatter metadata
and displaying in a list on BlogCart while checking if prop has values.
simplified interface, refactored to models file for better reusability.
@netlify
Copy link

netlify bot commented Feb 23, 2023

Deploy Preview for charming-faun-72b6b3 ready!

Name Link
🔨 Latest commit a892234
🔍 Latest deploy log https://app.netlify.com/sites/charming-faun-72b6b3/deploys/63f7d0f1736b690008f8d8ee
😎 Deploy Preview https://deploy-preview-7--charming-faun-72b6b3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@santoshyadavdev
Copy link
Owner

can we also show the tags on snippet page as well after date

@olierxleben
Copy link
Collaborator Author

can we also show the tags on snippet page as well after date

image

@santoshyadavdev
Copy link
Owner

santoshyadavdev commented Feb 23, 2023

can we also show the tags on snippet page as well after date

image

This is nice, thanks you, lets add it on next line
date Twitter Handle
Tags

WDYT?

@olierxleben
Copy link
Collaborator Author

can we also show the tags on snippet page as well after date

image

This is nice, thanks you, lets add it on next line date Twitter Handle Tags

WDYT?

Good idea. :)

@santoshyadavdev
Copy link
Owner

Thank you, This looks great.

@santoshyadavdev santoshyadavdev merged commit 9ef8714 into santoshyadavdev:main Feb 23, 2023
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.

Add tags option to snippets

2 participants