Adding content

All content is located in the content folder. You can edit your website here.

Screenshot

The content folders are available on your website. Every folder has a file called page.txt or with the name of the folder. You can also add more files and folders. Basically, what you see in the file manager is the website you get.

Files and folders

The navigation is automatically created from your content folders. Only folders with a prefix are shown in the navigation. Folders with prefix are for visible pages, folders without prefix are for invisible pages. All files and folders can have a prefix:

  1. Folders can have a numerical prefix, e.g. 1-home 9-about
  2. Files can have a date prefix for sorting, e.g. 2013-04-07-blog-example.txt
  3. No prefix means there is no special order, e.g. wiki-page.txt

Prefix and suffix are removed from the location, so that it looks better. For example the folder content/9-about/ is available on your website as http://website/about/. The file content/9-about/contact.txt becomes http://website/about/contact.

Folders may contain files and folders. There is one exception. The first folder may not contain subfolders, because it's responsible for the home page and available on your website as http://website/.

Text files

Let's have a closer look at text files. Open the file content/1-home/page.txt in your favorite text editor. You'll see settings and text of the page. You can change Title and other settings at the top of a page. Here's an example:

---
Title: Home
---
Your website works!

You can [edit this page] or use your text editor.

You can write pages in Markdown. Markdown is a practical way to edit web pages. For the most part, write text like an email and it becomes a web page. Here's an example how to format text:

Normal *italic* **bold** `code`

Next: Adding media →