How to write an article or a page?
by Joseph, on 2015 April 6th
It's very simple. Create a new .txt
file in /article/
or /page/
folder.
The pages will have a link in the top menu, unless you specify the contrary in the page's information (see below). The articles will be displayed in the blog, sorted by filename in order Z->A
, so I suggest you name them 01.txt
, 02.txt
, 03-blah.txt
, etc.
I know your next question:
How to write these text files now?
Here is a sample page:
TITLE:Home page
AUTHOR:Joseph
##Home
**Void** is a light CMS.
A text file is divided in two parts :
-
the part before the first blank line, which contains informations about the page/article with one of the following (optional) fields:
TITLE
,AUTHOR
,DATE
,URL
,NOMENU
, - the part after the first blank line, which contains the page/article content. It is written using the famous Markdown language.