Skip to content
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

Allow to tag books #1

Open
9 tasks
opatry opened this issue Jan 14, 2025 · 0 comments
Open
9 tasks

Allow to tag books #1

opatry opened this issue Jan 14, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@opatry
Copy link
Owner

opatry commented Jan 14, 2025

A book can have several tags.
Need to decide if the tag should be a symbol or a string (or support both?)

  • Add display label (and potentially other properties like an icon or emoji?) in nanoc.yaml for tags as symbol
  • Adding a tags: field in the front matter
  • Generate a page per /tags/xxx/
    • The page should display books for this tag, as a list of cards (like recent readings)
  • Generate a /tags/ page listing all tags
  • Display tags in book page (tag is clickable and redirect to /tags/xxx/)
  • (Maybe?) Display tabs in book card
  • Adjust view-transition.js to properly take into account these URLs (trying to make the pattern more generic)
  • Update API accordingly
  • Example of tags thriller, sci-fi, fantasy, policier, histoire, amour, nature, humour, …
@opatry opatry added the enhancement New feature or request label Jan 14, 2025
@opatry opatry mentioned this issue Feb 5, 2025
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant