Skip to content

Allow to tag books #1

@opatry

Description

@opatry

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 tags 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, …
  • OGP specific tags for Book tags
    <meta property="book:tag" content="fantasy">
    <meta property="book:tag" content="policier">

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions