This repository has been archived because development of picocms seems to have been discontinued. For a simple theme for a flat file based blog consider using randomchars42/jekyll-documentor with Jekyll which is used to publish github pages and most likely won't leave us in the near future.
A very minimal theme for Pico CMS, designed to help simple blogs.
For Pico CMS > 2.0:
- Download or clone the code and upload it to
themes/femto. - Edit
config/config.yml, so it containstheme: femto - That's it!
- You can find a live demo at http://blog.pixelwoelkchen.de
For things like Impressum just create a file /impressum.md.
Blog content goes into subfolders, either a single folder, e.g. /blog/ or one
folder per topic. Make sure every folder has an index.md with optional
content (the theme will automagically display all posts as links).
So your folder structure may look like:
/index.md
/impressum.md
/blog/index.md
/blog/my_latest_craze.md
/blog/a_fancy_idea.md
/blog/my_first_post_sigh.md
...
or
/index.md
/impressum.md
/ideas/index.md
/ideas/my_latest_craze.md
/ideas/a_fancy_idea.md
/ideas/my_first_post_sigh.md
/notsobrilliant/index.md
/notsobrilliant/don_t_do_this.md
...
Content in a folder called archive will not be listed on the front page.
By default, the pages on the first level appear in alphabetical order in your navigation. If you wanted to change that behaviour you need to edit config/config.yml so it contains these lines:
pages_order_by_meta: order
pages_order_by: meta
Now you can add an Order: NUMERICALVALUE to each YAML-Header on your first level pages, e.g.:
/*
Title: Archive
Author: AUTHOR
Date: 19 September 2019
Order: 3
*/
Old stuff