feat: folder creation (#696)
This commit is contained in:
committed by
GitHub
parent
bc0331483a
commit
5384b5c7a2
BIN
packages/core/dev-test/assets/uploads/Other Pics/lobby.jpg
Normal file
BIN
packages/core/dev-test/assets/uploads/Other Pics/lobby.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 808 KiB |
BIN
packages/core/dev-test/assets/uploads/Other Pics/moby-dick.jpg
Normal file
BIN
packages/core/dev-test/assets/uploads/Other Pics/moby-dick.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 310 KiB |
@ -2,6 +2,7 @@ backend:
|
||||
name: test-repo
|
||||
site_url: 'https://example.com'
|
||||
media_folder: assets/uploads
|
||||
media_library_folder_support: true
|
||||
locale: en
|
||||
i18n:
|
||||
# Required and can be one of multiple_folders, multiple_files or single_file
|
||||
|
@ -14,11 +14,7 @@
|
||||
'lobby.jpg': {
|
||||
content: '',
|
||||
},
|
||||
},
|
||||
},
|
||||
_posts: {
|
||||
assets: {
|
||||
uploads: {
|
||||
'Other Pics': {
|
||||
'moby-dick.jpg': {
|
||||
content: '',
|
||||
},
|
||||
@ -27,6 +23,8 @@
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
_posts: {
|
||||
'2015-02-14-this-is-a-post.md': {
|
||||
content:
|
||||
'---\ntitle: This is a YAML front matter post\ndraft: true\nimage: /assets/uploads/moby-dick.jpg\ndate: 2015-02-14T00:00:00.000Z\n---\n\n# I Am a Title in Markdown\n\nHello, world\n\n* One Thing\n* Another Thing\n* A Third Thing\n',
|
||||
|
Reference in New Issue
Block a user