|
@@ -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.</p>
|
|
lists all of the settings and their defaults. To override a setting simply uncomment it in config.php and set your custom value.</p>
|
|
<hr>
|
|
<hr>
|
|
<h3 id="creating-content">Creating Content</h3>
|
|
<h3 id="creating-content">Creating Content</h3>
|
|
- <p>Pico is a flat file CMS, this means there is no administration backend and database to deal with. You simply create <code>.txt</code> files in the "content"
|
|
|
|
|
|
+ <p>Pico is a flat file CMS, this means there is no administration backend and database to deal with. You simply create <code>.md</code> files in the "content"
|
|
folder and that becomes a page.</p>
|
|
folder and that becomes a page.</p>
|
|
- <p>If you created folder within the content folder (e.g. <code>content/sub</code>) and put an <code>index.txt</code> inside it, you can access that folder at the URL
|
|
|
|
- <code><a href="http://yousite.com/sub">http://yousite.com/sub</a></code>. If you want another page within the sub folder, simply create a text file with the corresponding name (e.g. <code>content/sub/page.txt</code>)
|
|
|
|
|
|
+ <p>If you created folder within the content folder (e.g. <code>content/sub</code>) and put an <code>index.md</code> inside it, you can access that folder at the URL
|
|
|
|
+ <code><a href="http://yousite.com/sub">http://yousite.com/sub</a></code>. If you want another page within the sub folder, simply create a text file with the corresponding name (e.g. <code>content/sub/page.md</code>)
|
|
and will be able to access it from the URL <code><a href="http://yousite.com/sub/page">http://yousite.com/sub/page</a></code>.</p>
|
|
and will be able to access it from the URL <code><a href="http://yousite.com/sub/page">http://yousite.com/sub/page</a></code>.</p>
|
|
<p>Below we've shown some examples of content locations and their corresponing URL's:</p>
|
|
<p>Below we've shown some examples of content locations and their corresponing URL's:</p>
|
|
<table>
|
|
<table>
|
|
@@ -121,29 +121,29 @@
|
|
<th style="text-align:left">URL</th>
|
|
<th style="text-align:left">URL</th>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>content/index.txt</td>
|
|
|
|
|
|
+ <td>content/index.md</td>
|
|
<td>/</td>
|
|
<td>/</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>content/sub.txt</td>
|
|
|
|
|
|
+ <td>content/sub.md</td>
|
|
<td>/sub</td>
|
|
<td>/sub</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>content/sub/index.txt</td>
|
|
|
|
|
|
+ <td>content/sub/index.md</td>
|
|
<td>/sub (same as above)</td>
|
|
<td>/sub (same as above)</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>content/sub/page.txt</td>
|
|
|
|
|
|
+ <td>content/sub/page.md</td>
|
|
<td>/sub/page</td>
|
|
<td>/sub/page</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>content/a/very/long/url.txt </td>
|
|
|
|
|
|
+ <td>content/a/very/long/url.md </td>
|
|
<td>/a/very/long/url</td>
|
|
<td>/a/very/long/url</td>
|
|
</tr>
|
|
</tr>
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
<br />
|
|
<br />
|
|
- <p>If a file cannot be found, the file <code>content/404.txt</code> will be shown.</p>
|
|
|
|
|
|
+ <p>If a file cannot be found, the file <code>content/404.md</code> will be shown.</p>
|
|
|
|
|
|
<h4 id="text-file-markup">Text File Markup</h4>
|
|
<h4 id="text-file-markup">Text File Markup</h4>
|
|
<p>Text files are marked up using <a href="http://daringfireball.net/projects/markdown/syntax">Markdown</a>.
|
|
<p>Text files are marked up using <a href="http://daringfireball.net/projects/markdown/syntax">Markdown</a>.
|