hello,I am working on a Hugo site and i need some help.
i have files that i have generated using pandoc/latex. The pdf files version of the website is located in a folder that says PDFs.
i want the html href to populate itself with the matching pdf file when “click to view pdf” is linked.
how would i do this in Javascript?
url: manual/company/culture/? file name/url when pdf is loaded :manual/company/culture/privacy-policy-index.md.tex.pdf
The file structure is:
Content/GeneratedFiles->LatexFiles
PdfFiles
generatepdf.js