I have a posts page which stores every individual blog. And each blog has a pdf file. I can upload the pdf via the blog page but when I execute my code through the for-loop on p
HTML5 element can embed PDFs in a page without an external library.
Just replace "the.pdf" with your file document path with Jekyll syntax.
the.pdf
e.g.