summaryrefslogtreecommitdiff
path: root/templates/themes/calendar/info.php
blob: 6d770601942bbb779326aa9161fc084148d918f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
	$theme = [];
	
	// Theme name
	$theme['name'] = \Calendar::class;
	// Description (you can use Tinyboard markup here)
	$theme['description'] = 'Calendar theme.';
	$theme['version'] = 'v0.0.1';
	
	// Theme configuration	
	$theme['config'] = [];
	
	$theme['config'][] = ['title' => 'Site title', 'name' => 'title', 'type' => 'text'];
	
	$theme['config'][] = ['title' => 'Slogan', 'name' => 'subtitle', 'type' => 'text', 'comment' => '(optional)'];
	
	$theme['config'][] = ['title' => 'File', 'name' => 'file', 'type' => 'text', 'default' => $config['file_index'], 'comment' => '(eg. "index.html")'];
	
	// Unique function name for building everything
	$theme['build_function'] = 'calendar_build';