summaryrefslogtreecommitdiffstats
path: root/Editor.md
diff options
context:
space:
mode:
Diffstat (limited to 'Editor.md')
-rw-r--r--Editor.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/Editor.md b/Editor.md
index dd53b4b..fcec277 100644
--- a/Editor.md
+++ b/Editor.md
@@ -3,7 +3,7 @@ If you want to reference another item (e.g. a post or a category) in your conten
**Note:** You can combine these functions with Markdown syntax since they are processed and transformed before the Markdown parser finally transforms the content to HTML. There is even the possibility [to add your own custom functions](Content_Functions#how-to-add-custom-functions).
## Relative URLs
-You can link any resource (e.g. a file) which is located anywhere within your document root dynamically, either relative to your base directory (the installation directory) or relative to the `rsrc` directory where you store your files, images and other stuff. The `BASE_URL` and `FILE_URL` functions will return the pure plain text URL (extended by the first argument).
+You can link any resource (e.g. a file) which is located anywhere within your document root dynamically, either relative to your base directory (the installation directory) or relative to the `static` directory where you store your files, images and other stuff. The `BASE_URL` and `FILE_URL` functions will return the pure plain text URL (extended by the first argument).
### Example #1
~~~markdown
@@ -24,11 +24,11 @@ Hello there. Check out <a href="https://blog.git/readme.md">the README</a>!
~~~
~~~markdown
<!-- Result after the functions were transformed: -->
-![A cute kitten](https://blog.git/rsrc/image/content/kitten.jpg "Look at this!")
+![A cute kitten](https://blog.git/static/image/content/kitten.jpg "Look at this!")
~~~
~~~html
<!-- Final result after the Markdown was transformed: -->
-<img src="https://blog.git/rsrc/image/content/kitten.jpg" alt="A cute kitten" title="Look at this!" />
+<img src="https://blog.git/static/image/content/kitten.jpg" alt="A cute kitten" title="Look at this!" />
~~~
## Linking items in your content (categories, pages, posts and users)