feat: folder creation (#696)

This commit is contained in:
Daniel Lautzenheiser
2023-04-12 15:18:32 -04:00
committed by GitHub
parent bc0331483a
commit 5384b5c7a2
24 changed files with 620 additions and 189 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 KiB

View File

@ -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

View 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',