Add tag support #28

Open
opened 3 years ago by jjg · 0 comments
jjg commented 3 years ago
Owner

Scan posts for “hashtags” and build an index that can be used to display groups of posts that contain the same tag.

One possible implementation is to display the tag index on the post list page, and when a tag is selected, filter the list to show only posts that contain that tag. This could probably be complexly client-side code which would avoid changing the current file layout, as well as being very fast.

Bonus points:

  • Filter by more than one tag at a time
  • Conditionally display the tag index (hide if there’s no tags)
  • Modify the URL so it can be used to link to a pre-filtered list
Scan posts for “hashtags” and build an index that can be used to display groups of posts that contain the same tag. One possible implementation is to display the tag index on the post list page, and when a tag is selected, filter the list to show only posts that contain that tag. This could probably be complexly client-side code which would avoid changing the current file layout, as well as being very fast. ## Bonus points: * Filter by more than one tag at a time * Conditionally display the tag index (hide if there’s no tags) * Modify the URL so it can be used to link to a pre-filtered list
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: jjg/preposter.us#28
Loading…
There is no content yet.