Hi I am trying to put a link to a pdf on my NB website. I have uploaded the file named resume.pdf and tried both of the following in my html:
<a href="resume.pdf">Download Resume</a>
and
<a href="/resume.pdf">Download Resume</a>
When I click on the link I get an error message stating "PDF failed to load"
Any help would be appreciated!
Official response from Taylor Pineiro
Please see below!
Share this post
Showing 3 reactions
Sign in with
Made By Pumpkin
Certified Architect
Certified Developer
Wait I figured it out, I needed to upload the attachment directly to the page I wanted the link to be on and replace the href with liquid code, like so:
<a href=“%7B%7B%20page.attachments.first.url%20%7D%7D”>Download Resume</a>
Made By Pumpkin
Certified Architect
Certified Developer