PicoCMS theme using Semantic-UI
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
components
favicons
highlight
themes/default/assets
.gitattributes
.gitignore
README.md
base.twig
blog.twig
main.twig
profile.twig
semantic.css
semantic.js
semantic.min.css
semantic.min.js
single-post.twig
single-profile.twig

README.md

Installation

To enable this theme, edit the config.php to $config['theme'] = 'semantic';

To change theme colors edit the config.php and change $config['semantic_color'] = 'teal'; to any Semantic-UI default colors.

Also edit $config['semantic_alt_color'] = 'grey';

Requires PicoTags plugins to properly use menu item and filter post depending on the category.

Requires Pico-Pagination.

How to use this

Menu items are created from .md files that have the following YAML info

--- 
Menu: about me 
Tags: menu
Link: /users/stephen 
---

To add submenu for a specific menu item, you need to add Sub: in the YAML header. For example:

--- 
Menu: about me 
Tags: menu
Link: /users/stephen 
Sub:
 Stephen: /users/stephen
 Tony: /users/tony
 Title: /link
---

Where the Menu is the title of the menu item, Tags has to be menu, and Link is base of {{ base_url }}. To order the menu location, name the menu files with in numeric order. For example

05-blog.md
10-aboutme.md
15-fun.md

For blog, create a new blog folder under content. The index.md in that location should have the following as an example

---
Title: blog
Filter: blog, menu
Author: stephen
Date: 10 September 2016
Template: blog
---

Each new blog post should have the Tags of blog.

For images, please create an assets folder under the root of the Pico install, and keep the assets there.

I'll write better and clearer instructions once I have more time.

Of course, Semantic-UI code is all over this repository. I created this theme base off version 2.24.