diff --git a/README.md b/README.md index 33ea42b..e399c78 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ You should now have all the plugin files under ``` enabled: true allow_in_page: true # Allow files in the current page (e.g. sample.txt) -allow_in_grav: true # Allow files relative to Grav root (e.g. /user/custom/sample.txt) +allow_in_grav: true # Allow files relative to Grav root (e.g. /user/data/custom/sample.txt) allow_in_filesystem: false # Allow files anywhere on filesystem (e.g. /users/myuser/myfolder/sample.txt) allowed_extensions: [txt, html] # Array of allowed file types to allow ``` @@ -50,7 +50,7 @@ or or -{{ filecontent('/user/custom/sample.txt') }} +{{ filecontent('/user/data/custom/sample.txt') }} ``` [grav]: http://github.com/getgrav/grav diff --git a/file-content.yaml b/file-content.yaml index 70949c9..425cd88 100644 --- a/file-content.yaml +++ b/file-content.yaml @@ -1,5 +1,5 @@ enabled: true allow_in_page: true # Allow files in the current page (e.g. sample.txt) -allow_in_grav: true # Allow files relative to Grav root (e.g. /user/custom/sample.txt) +allow_in_grav: true # Allow files relative to Grav root (e.g. /user/data/custom/sample.txt) allow_in_filesystem: false # Allow files anywhere on filesystem (e.g. /users/myuser/myfolder/sample.txt) -allowed_extensions: [txt, html] # Array of allowed file types to allow \ No newline at end of file +allowed_extensions: [txt, html] # Array of allowed file types to allow