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.
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:
URL | ||
---|---|---|
content/index.txt | +content/index.md | / |
content/sub.txt | +content/sub.md | /sub |
content/sub/index.txt | +content/sub/index.md | /sub (same as above) |
content/sub/page.txt | +content/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 files are marked up using Markdown.