Skip to content

Commit bde57b3

Browse files
authored
Merge pull request #4 from iainsgillis/develop
Update placeholder path to /user/data/
2 parents 7ddfbb6 + e857e9b commit bde57b3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You should now have all the plugin files under
2727
```
2828
enabled: true
2929
allow_in_page: true # Allow files in the current page (e.g. sample.txt)
30-
allow_in_grav: true # Allow files relative to Grav root (e.g. /user/custom/sample.txt)
30+
allow_in_grav: true # Allow files relative to Grav root (e.g. /user/data/custom/sample.txt)
3131
allow_in_filesystem: false # Allow files anywhere on filesystem (e.g. /users/myuser/myfolder/sample.txt)
3232
allowed_extensions: [txt, html] # Array of allowed file types to allow
3333
```
@@ -50,7 +50,7 @@ or
5050
5151
or
5252
53-
{{ filecontent('/user/custom/sample.txt') }}
53+
{{ filecontent('/user/data/custom/sample.txt') }}
5454
```
5555

5656
[grav]: http://github.com/getgrav/grav

file-content.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
enabled: true
22
allow_in_page: true # Allow files in the current page (e.g. sample.txt)
3-
allow_in_grav: true # Allow files relative to Grav root (e.g. /user/custom/sample.txt)
3+
allow_in_grav: true # Allow files relative to Grav root (e.g. /user/data/custom/sample.txt)
44
allow_in_filesystem: false # Allow files anywhere on filesystem (e.g. /users/myuser/myfolder/sample.txt)
5-
allowed_extensions: [txt, html] # Array of allowed file types to allow
5+
allowed_extensions: [txt, html] # Array of allowed file types to allow

0 commit comments

Comments
 (0)