Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Grav is not able to embed links to files in sub folders in raw html

Started by Muut Archive 11 years ago · 0 replies · 600 views
11 years ago

I am in a page directory and want to embed a link inside the .md file.
I have to use raw html inside the markdown. Now I want to add a simple link to a file inside the directory.
e.g.:

TXT
02.Download
     myfile.zip

now I add the link like this:
<a href="myFile.zip">link</a>
however the link appears in my browser like this:

www.mySite.com/myFile.zip instead of www.mySite.com/download/myFile.zip

So I need a way to add the relative path from the root to the file to the link inside the raw html?
Any idea how to do this?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 671 1 week ago
Archive · by Deleted User, 9 years ago
0 3041 9 years ago
Archive · by Muut Archive, 9 years ago
2 1980 9 years ago
Archive · by Muut Archive, 9 years ago
2 5335 9 years ago
Archive · by Muut Archive, 9 years ago
1 4133 9 years ago