docs: improve nested example in demo
This commit is contained in:
parent
5462b1d2d1
commit
f731f5bc07
@ -17,12 +17,12 @@
|
|||||||
"lobby.jpg": {
|
"lobby.jpg": {
|
||||||
content: "",
|
content: "",
|
||||||
},
|
},
|
||||||
'Other Pics': {
|
"Other Pics": {
|
||||||
'moby-dick.jpg': {
|
"moby-dick.jpg": {
|
||||||
content: '',
|
content: "",
|
||||||
},
|
},
|
||||||
'lobby.jpg': {
|
"lobby.jpg": {
|
||||||
content: '',
|
content: "",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -134,28 +134,39 @@
|
|||||||
},
|
},
|
||||||
_nested_pages: {
|
_nested_pages: {
|
||||||
authors: {
|
authors: {
|
||||||
'author-1': {
|
"author-1": {
|
||||||
'index.md': {
|
"index.md": {
|
||||||
content: '---\ntitle: An Author\n---\nAuthor details go here!.\n',
|
content: "---\ntitle: An Author\n---\nAuthor details go here!.\n",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'index.md': {
|
"index.md": {
|
||||||
content: '---\ntitle: Authors\n---\n',
|
content: "---\ntitle: Authors\n---\n",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
posts: {
|
posts: {
|
||||||
'hello-world': {
|
"hello-world": {
|
||||||
'index.md': {
|
"index.md": {
|
||||||
content:
|
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': {
|
"index.md": {
|
||||||
content: '---\ntitle: Posts\n---\n',
|
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': {
|
"index.md": {
|
||||||
content: '---\ntitle: Pages\n---\n',
|
content: "---\ntitle: Pages\n---\n",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user