Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

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

Started by Muut Archive 11 years ago · 0 replies · 300 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 Deleted User, 9 years ago
0 1281 9 years ago
Archive · by Muut Archive, 9 years ago
2 888 9 years ago
Archive · by Muut Archive, 9 years ago
2 4018 9 years ago
Archive · by Muut Archive, 9 years ago
1 2894 9 years ago
Archive · by Muut Archive, 9 years ago
3 1077 9 years ago