leftypol/templates/themes/about/info.php

32 lines
684 B
PHP
Raw Normal View History

2024-05-07 12:48:05 +02:00
<?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'
];