eallion / memos.top

✍ A static page rendered with the Memos API.
https://memos-demo.vercel.app
Other
226 stars 101 forks source link

Is it possible to filter the displayed content with tags? #9

Closed simechnet closed 1 year ago

simechnet commented 1 year ago

Thanks for the great job.

I think it would be great if we could have some of the tags showing on the top of the home page and the displayed content can be filtered when one tag is clicked. For example, when the tag "#video" is clicked, only the memos with the tag will be shown.

eallion commented 1 year ago

This feature is possible. My friend immmmm.com show the album tag as an album on his hugo blog: https://immmmm.com/hugo-shortcodes-recently-by-memos/

The API is:

https://demo.example.com/api/memo/all?rowStatus=NORMAL&limit=10&tag=album

You can get some tips here

simechnet commented 1 year ago

Thanks for the hint!