forked from leftypol/leftypol
32 lines
684 B
PHP
32 lines
684 B
PHP
![]() |
<?php
|
||
|
$theme = [
|
||
|
// Theme name.
|
||
|
'name' => 'About',
|
||
|
// Description (you can use Tinyboard markup here).
|
||
|
'description' => 'Extremely basic about page. Enabling board links is recommended for this theme.',
|
||
|
'version' => 'v0.0.1',
|
||
|
// Theme configuration.
|
||
|
'config' => [
|
||
|
[
|
||
|
'title' => 'Site title',
|
||
|
'name' => 'title',
|
||
|
'type' => 'text',
|
||
|
'default' => 'Title goes here'
|
||
|
],
|
||
|
[
|
||
|
'title' => 'Text',
|
||
|
'name' => 'description',
|
||
|
'type' => 'text',
|
||
|
'default' => 'Text goes here'
|
||
|
],
|
||
|
[
|
||
|
'title' => 'File path',
|
||
|
'name' => 'path',
|
||
|
'type' => 'text',
|
||
|
'default' => 'about.html',
|
||
|
'comment' => '(eg. "about.html")'
|
||
|
]
|
||
|
],
|
||
|
'build_function' => 'about_build'
|
||
|
];
|