@@ -12,3 +12,4 @@ content/ | |||
php-error.log | |||
rsc/sass/_onthefly.scss | |||
rsc/themes/ | |||
templates/ |
@@ -18,7 +18,7 @@ class Page { | |||
case 'home': | |||
default: | |||
$f3->mset(array( | |||
'template'=>'tpl/index.html', | |||
'template'=>$f3->get('template') ? :'tpl/index.html', | |||
'templateContent'=>'maincontent.html' | |||
)); | |||
self::folder2(); |
@@ -92,6 +92,7 @@ $f3->set('CONTENT', $content_dir); | |||
$f3->set('CONTENT_BASE', array_shift(explode("/",$f3->get('CONTENT'))).'/'); | |||
$f3->set('UI', implode(';', array( | |||
ROOT.$f3->get('templatepath'), | |||
ROOT.'app/views/', | |||
ROOT.$f3->get('CONTENT_BASE') // content folders can contain .html templates | |||
))); |
@@ -45,6 +45,7 @@ content.en=content/EN/ | |||
;public directory for css, javascript, images etc. | |||
RESOURCES=rsc/ | |||
;default site template: | |||
templatepath=app/views/ | |||
template=tpl/index.html | |||
theme=style.css | |||
themepath=./ |