-
Notifications
You must be signed in to change notification settings - Fork 19
Themes
Timot Tarjani edited this page Dec 12, 2016
·
9 revisions
###Theme structure
The themes are under the /themes folder. By default there are two theme engine: Laravel's blade(in development) and PHP. You can choose the engine in you theme config.php file eg: 'theme_engine' => 'blade'.
HorizontCMS needs some default template, they are listed below. After the file creation they will be automatically recognized by the system. You don't have to include the header.php and footer.php into index. If they exists, the template engine will do it for you.
- page_templates (dir) * Custom page templates come here. (eg: blog.php)
- header.php
- index.php
- footer.php
- page.php
- 404.php
- config.php
- preview.jpg
- theme_info.xml
Project started in 2015