docs: improve nested example in demo

This commit is contained in:
Daniel Lautzenheiser 2023-04-17 12:20:26 -04:00
parent 5462b1d2d1
commit f731f5bc07

View File

@ -17,12 +17,12 @@
"lobby.jpg": {
content: "",
},
'Other Pics': {
'moby-dick.jpg': {
content: '',
"Other Pics": {
"moby-dick.jpg": {
content: "",
},
'lobby.jpg': {
content: '',
"lobby.jpg": {
content: "",
},
},
},
@ -134,28 +134,39 @@
},
_nested_pages: {
authors: {
'author-1': {
'index.md': {
content: '---\ntitle: An Author\n---\nAuthor details go here!.\n',
"author-1": {
"index.md": {
content: "---\ntitle: An Author\n---\nAuthor details go here!.\n",
},
},
'index.md': {
content: '---\ntitle: Authors\n---\n',
"index.md": {
content: "---\ntitle: Authors\n---\n",
},
},
posts: {
'hello-world': {
'index.md': {
"hello-world": {
"index.md": {
content:
'---\ntitle: Hello World\n---\nCoffee is a small tree or shrub that grows in the forest understory in its wild form, and traditionally was grown commercially under other trees that provided shade. The forest-like structure of shade coffee farms provides habitat for a great number of migratory and resident species.\n',
"---\ntitle: Hello World\n---\nCoffee is a small tree or shrub that grows in the forest understory in its wild form, and traditionally was grown commercially under other trees that provided shade. The forest-like structure of shade coffee farms provides habitat for a great number of migratory and resident species.\n",
},
},
'index.md': {
content: '---\ntitle: Posts\n---\n',
"index.md": {
content: "---\ntitle: Posts\n---\n",
},
news: {
"hello-world-news": {
"index.md": {
content:
"---\ntitle: Hello World News\n---\nCoffee is a small tree or shrub that grows in the forest understory in its wild form, and traditionally was grown commercially under other trees that provided shade. The forest-like structure of shade coffee farms provides habitat for a great number of migratory and resident species.\n",
},
},
"index.md": {
content: "---\ntitle: News Articles\n---\n",
},
},
},
'index.md': {
content: '---\ntitle: Pages\n---\n',
"index.md": {
content: "---\ntitle: Pages\n---\n",
},
},
};