Update content-sample/index.md
This commit is contained in:
parent
ffc59362be
commit
365333c62e
@ -17,11 +17,11 @@ and is shown as the main landing page.
|
|||||||
|
|
||||||
If you create a folder within the content folder (e.g. `content-sample/sub`)
|
If you create a folder within the content folder (e.g. `content-sample/sub`)
|
||||||
and put an `index.md` inside it, you can access that folder at the URL
|
and put an `index.md` inside it, you can access that folder at the URL
|
||||||
`http://yoursite.com/?sub`. If you want another page within the sub folder,
|
`http://example.com/pico/?sub`. If you want another page within the sub folder,
|
||||||
simply create a text file with the corresponding name and you will be able to
|
simply create a text file with the corresponding name and you will be able to
|
||||||
access it (e.g. `content-sample/sub/page.md` is accessible from the URL
|
access it (e.g. `content-sample/sub/page.md` is accessible from the URL
|
||||||
`http://yoursite.com/?sub/page`). Below we've shown some examples of locations
|
`http://example.com/pico/?sub/page`). Below we've shown some examples of
|
||||||
and their corresponding URLs:
|
locations and their corresponding URLs:
|
||||||
|
|
||||||
<table style="width: 100%; max-width: 40em;">
|
<table style="width: 100%; max-width: 40em;">
|
||||||
<thead>
|
<thead>
|
||||||
@ -202,7 +202,7 @@ Pages can be used like the following:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
You can use different templates for different content files by specifing the
|
You can use different templates for different content files by specifying the
|
||||||
`Template` meta header. Simply add e.g. `Template: blog-post` to a content file
|
`Template` meta header. Simply add e.g. `Template: blog-post` to a content file
|
||||||
and Pico will use the `blog-post.twig` file in your theme folder to render
|
and Pico will use the `blog-post.twig` file in your theme folder to render
|
||||||
the page.
|
the page.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user