content-sample/index.md: Fix syntax
This commit is contained in:
parent
daca1b7495
commit
fdf81672a8
@ -11,9 +11,9 @@ Congratulations, you have successfully installed [Pico](http://picocms.org/).
|
|||||||
## Creating Content
|
## Creating Content
|
||||||
|
|
||||||
Pico is a flat file CMS. This means there is no administration backend or
|
Pico is a flat file CMS. This means there is no administration backend or
|
||||||
database to deal with. You simply create `.md` files in the `content` folder and
|
database to deal with. You simply create `.md` files in the `content` folder
|
||||||
those files become your pages. For example, this file is called `index.md` and
|
and those files become your pages. For example, creating a file called
|
||||||
is shown as the main landing page.
|
`index.md` will make it show as your main landing page.
|
||||||
|
|
||||||
When you install Pico, it comes with a `content-sample` folder. Inside this
|
When you install Pico, it comes with a `content-sample` folder. Inside this
|
||||||
folder is a sample website that will display until you add your own content.
|
folder is a sample website that will display until you add your own content.
|
||||||
@ -21,8 +21,8 @@ You should create your own `content` folder in Pico's root directory and place
|
|||||||
your files there. No configuration is required, Pico will automatically use the
|
your files there. No configuration is required, Pico will automatically use the
|
||||||
`content` folder if it exists.
|
`content` folder if it exists.
|
||||||
|
|
||||||
If you create a folder within the content folder (e.g. `content/sub`) and put an
|
If you create a folder within the content folder (e.g. `content/sub`) and put
|
||||||
`index.md` inside it, you can access that folder at the URL
|
an `index.md` inside it, you can access that folder at the URL
|
||||||
`http://example.com/?sub`. If you want another page within the sub folder,
|
`http://example.com/?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/sub/page.md` is accessible from the URL
|
access it (e.g. `content/sub/page.md` is accessible from the URL
|
||||||
@ -101,7 +101,7 @@ There are also certain variables that you can use in your text files:
|
|||||||
can be specified using <code>%base_url%?sub/page</code>
|
can be specified using <code>%base_url%?sub/page</code>
|
||||||
* <code>%theme_url%</code> - The URL to the currently used theme
|
* <code>%theme_url%</code> - The URL to the currently used theme
|
||||||
* <code>%meta.*%</code> - Access any meta variable of the current
|
* <code>%meta.*%</code> - Access any meta variable of the current
|
||||||
page, e.g. <code>%meta.author%</code> is replaced with `Joe Bloggs`
|
page, e.g. <code>%meta.author%</code> is replaced with `Joe Bloggs`
|
||||||
|
|
||||||
### Blogging
|
### Blogging
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user