ss6/themes/vihor
root 1e2c60edc4 Razni popravki in dodelave 2021-12-19 22:06:27 +01:00
..
css Razni popravki in dodelave 2021-12-19 22:06:27 +01:00
images Verzija 1 2021-12-19 12:26:37 +01:00
js Razni popravki in dodelave 2021-12-19 22:06:27 +01:00
.gitignore Verzija 1 2021-12-19 12:26:37 +01:00
LICENSE Verzija 1 2021-12-19 12:26:37 +01:00
README.md Verzija 1 2021-12-19 12:26:37 +01:00
index.twig Posodobitve stilov in vsebine 2021-12-19 13:37:00 +01:00

README.md

A very minimal theme for Pico CMS, designed to help simple blogs.

Installation

For Pico CMS > 2.0:

  • Download or clone the code and upload it to themes/femto.
  • Edit config/config.yml, so it contains
    	theme: femto
    
  • That's it!

Demo

Usage

Structure

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.

Ordering first level pages

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