0

I would like to represent books that have authors (note that author is a taxonomy), possibly multiple (so the "author" property of a "book" is a list).

I looked at this SO question: Grouping categories in hexo

From that, my understanding is that a structure like this:

categories:
 - [authors, "X Y"]
 - [authors, "A B"]
 - [authors, "C D"]

...or one like this:

categories:
 - [authors, "X Y", "A B", "C D"]

in each book.md (there is an md file for each book) does the job.

Which of the two is right? Does any of these solutions enable me to query books of a specific author (e.g. "X Y")?

user1724641
  • 331
  • 1
  • 11

0 Answers0