From 636f27ae2fdecbad56f5a79fc4f89c8696094362 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sat, 14 Nov 2015 00:26:26 +0100 Subject: [PATCH] Add asset handling recommendations to inline user docs Thanks @smcdougall for giving the hint about this --- content-sample/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content-sample/index.md b/content-sample/index.md index 074ded8..55d385d 100644 --- a/content-sample/index.md +++ b/content-sample/index.md @@ -62,6 +62,12 @@ Instead of adding your own content to the `content-sample` folder, you should create your own `content` directory in Pico's root directory. You can then add and access your contents as described above. +As a common practice, we recommend you to separate your contents and assets +(like images, downloads etc.). We even deny access to your `content` directory +by default. So if you want to use a asset (e.g. a image) in one of your content +files, upload it to the (to be created) directory `assets` and use it as +follows: !\[Image Title\](%base_url%/assets/image.png) + ### Text File Markup Text files are marked up using [Markdown][]. They can also contain regular HTML.