Added FAQ theme

This commit is contained in:
Benjamin Southall 2016-12-19 08:47:30 +09:00
parent f91739389f
commit 307af0246b
4 changed files with 187 additions and 0 deletions

View file

@ -0,0 +1,36 @@
<?php
$theme = Array();
// Theme name
$theme['name'] = 'FAQ';
// Description (you can use Tinyboard markup here)
$theme['description'] = 'FAQ because Lainons have questions';
$theme['version'] = 'v0.0.1';
// Theme configuration
$theme['config'] = Array();
$theme['config'][] = Array(
'title' => 'Site title',
'name' => 'title',
'type' => 'text'
);
$theme['config'][] = Array(
'title' => 'Slogan',
'name' => 'subtitle',
'type' => 'text',
'comment' => '(optional)'
);
$theme['config'][] = Array(
'title' => 'File',
'name' => 'file',
'type' => 'text',
'default' => "faq.html",
'comment' => '(eg. "faq.html")'
);
// Unique function name for building everything
$theme['build_function'] = 'faq_build';