This content originally appeared on Raymond Camden and was authored by Raymond Camden
A few weeks ago I posted a tutorial on using PDFs with Eleventy. In that post I described how to use a data file to scan a directory of PDFs and make them available to a Liquid template. I then followed up that post with another, where I described using Adobe's PDF Tools API to generate thumbnail images from PDFs. I thought it would be nice to combine the two so I could have my Eleventy site both list the PDFs as well as generate thumbnails. Here's how that looks with me spending about five seconds on layout:
This content originally appeared on Raymond Camden and was authored by Raymond Camden
Raymond Camden | Sciencx (2021-03-16T00:00:00+00:00) Using PDFs with the Jamstack – Now with Thumbnails. Retrieved from https://www.scien.cx/2021/03/16/using-pdfs-with-the-jamstack-now-with-thumbnails/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.