Internal links to assets

I’m having trouble with internal links to static files with various different schemes. And zola v0.11

Placing pdf files in the static directory, I try to create a markdown link via

[text](@/foo.pdf)

zola check fails unable the resolve the link

Or in static/docs/foo.pdf

[text](@/docs/foo.pdf)

zola check fails unable the resolve the link

With colocated content placing the pdfs in content/docs

[text](foo.pdf)

zola check succeeds, but the pdfs don’t seem to be transferred on build to the docs directory. If I put the pdf files in a content/docs directory and a static/docs directory then it seems all work out, but that seems rather redundant. What am I doing wrong? Is there a better way?

1 Like

Finally figured out some combo of working config with pdf files in static/docs/*.pdf

Links w/o the @

[my link](/docs/foo.pdf)