Integrating bookdown and blogdown: how to display books like posts in a list page?

I'd like to present some of my content in blogpost format and other in book format. Posts are easily handled by default in blogdown, but I'm not entirely sure of how to include bookdown material.

On one hand, I could copy each book's folder into public/books/ and could manually add the links at public/books/_index.html, but that feels a bit inefficient. I could also work out a layout that automatically lists all the subfolders, but I would need to retrieve book metadata directly from the HTML files which feels a bit hacky. Perhaps I could use R Markdown and use a hidden block of code so that building the site also builds the books and generates the list?

Hopefuly someone has solved this before and there's a simpler approach!

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.