aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawl99R7bhJ2vy8I_q_st9wwBlwJ38Qyro34 <skew@web>2011-09-11 05:23:03 -0400
committeradmin <admin@branchable.com>2011-09-11 05:23:03 -0400
commitea9f75881b1a2eeba0075c8928f690cfa8eff870 (patch)
treefb9b02a943a003d6dfd94a9cdeb6d2bb6c64da98
parentad3160bb97c095e64167847d3ec9c91996367d0d (diff)
downloadikiwiki-ea9f75881b1a2eeba0075c8928f690cfa8eff870.tar
ikiwiki-ea9f75881b1a2eeba0075c8928f690cfa8eff870.tar.gz
-rw-r--r--doc/forum/create_download_link.mdwn4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/forum/create_download_link.mdwn b/doc/forum/create_download_link.mdwn
new file mode 100644
index 000000000..44899b118
--- /dev/null
+++ b/doc/forum/create_download_link.mdwn
@@ -0,0 +1,4 @@
+Thank you very much for ikiwiki. I successfully started using it.
+Now I have a simple question that I am not able to answer myself at the moment:
+
+In the directory structure of ikiwiki I placed a file (in this case a video). In an ikiwiki page I would like to create a link to this file, so that the user can download it. Of course I can do this using a link to the absolute url, including hostname and the full path. But when I move the wiki to another host, this will not be valid anymore. Therefore my question: Is there a way to automatically create a link to a file by relatively specifying the destination? Say, I have a directory foo with a page foo/bar.mdwn and a folder foo/downloads with a file foo/downloads/video.mp4, I would like to refer to this file using "downloads/video.mp4" or something similar. Is there such a possibility?