diff --git a/docs.html b/docs.html index 72065c9..a052e48 100644 --- a/docs.html +++ b/docs.html @@ -108,10 +108,10 @@ lists all of the settings and their defaults. To override a setting simply uncomment it in config.php and set your custom value.


Creating Content

-

Pico is a flat file CMS, this means there is no administration backend and database to deal with. You simply create .txt files in the "content" +

Pico is a flat file CMS, this means there is no administration backend and database to deal with. You simply create .md files in the "content" folder and that becomes a page.

-

If you created folder within the content folder (e.g. content/sub) and put an index.txt inside it, you can access that folder at the URL - http://yousite.com/sub. If you want another page within the sub folder, simply create a text file with the corresponding name (e.g. content/sub/page.txt) +

If you created folder within the content folder (e.g. content/sub) and put an index.md inside it, you can access that folder at the URL + http://yousite.com/sub. If you want another page within the sub folder, simply create a text file with the corresponding name (e.g. content/sub/page.md) and will be able to access it from the URL http://yousite.com/sub/page.

Below we've shown some examples of content locations and their corresponing URL's:

@@ -121,29 +121,29 @@ - + - + - + - + - +
URL
content/index.txtcontent/index.md /
content/sub.txtcontent/sub.md /sub
content/sub/index.txtcontent/sub/index.md /sub (same as above)
content/sub/page.txtcontent/sub/page.md /sub/page
content/a/very/long/url.txt     content/a/very/long/url.md      /a/very/long/url

-

If a file cannot be found, the file content/404.txt will be shown.

+

If a file cannot be found, the file content/404.md will be shown.

Text File Markup

Text files are marked up using Markdown.