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

View File

@ -2,6 +2,7 @@ backend:
name: test-repo
site_url: 'https://staticcms.org/'
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

@ -17,19 +17,17 @@
"lobby.jpg": {
content: "",
},
},
},
_posts: {
assets: {
uploads: {
"moby-dick.jpg": {
content: "",
'Other Pics': {
'moby-dick.jpg': {
content: '',
},
"lobby.jpg": {
content: "",
'lobby.jpg': {
content: '',
},
},
},
},
_posts: {
"2015-02-14-this-is-a-post.md": {
content:
"---\ntitle: This is a YAML front matter post\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",