Mac OS X  22ATTR2n;0d1:pd1:yi88e1:wi1315e1:xi317e1:hi970ee1:gi1e1:sd1:pi37e1:li0ee1:ei1e1:li184e1:m16:SEEMode.PHP-HTMLeMac OS X;513d1:pd1:yi88e1:wi1315e1:xi317e1:hi970ee1:gi1e1:sd1:pi168e1:li0ee1:ei1e1:li4994e1:m16:SEEMode.PHP-HTMLe Welcome |Pico

Welcome to Pico

Congratulations you have successfully installed Pico. Pico is a stupidly simple, blazing fast, flat file CMS.

Creating 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. For example this file is called and is shown as the main landing page.

If you created folder within the content folder (e.g. content/sub) and put an inside it, you can access that folder at the URL If you want another page within the sub folder, simply create a text file with the corresponding name (e.g. content/sub/ and will be able to access it from the URL Below we've shown some examples of content locations and their corresponing URL's:

Physical LocationURL
content/sub/ (same as above)

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

Text File Markup

Text files are marked up using Markdown. They can also contain regular HTML.

At the top of text files you can place a block comment and specify certain attributes of the page. For example:

/ *
Title: Welcome
Description: This description will go in the meta description tag
Author: Joe Bloggs
Date: 2013/01/01
Robots: noindex,nofollow

These values will be contained in the {{ meta }} variable in themes (see below).

There are also certain variables that you can use in your text files:


You can create themes for your Pico installation and in the "themes" folder. Check out the default theme for an example of a theme. Pico uses Twig for it's templating engine. You can select your theme by setting the $config['theme'] variable in config.php to your theme folder.

All themes must include an index.html file to define the HTML structure of the theme. Below are the Twig variables that are available to use in your theme:

Pages can be used like:

<ul class="nav">
    {% for page in pages %}
    <li><a href="{{ page.url }}">{{ page.title }}</a></li>
    {% endfor %}


You can override the default Pico settings (and add your own custom settings) by editing config.php in the root Pico directory. The config.php file list all of the settings and their defaults. To override a setting simply uncomment it in config.php and set your custom value.