<?php
    $theme = Array();
    
    // Theme name
    $theme['name'] = 'News';
    // Description (you can use Tinyboard markup here)
    $theme['description'] = 'A simple news page that displays all news entries with numbered anchors for direct linking.';
    $theme['version'] = 'v1.0';
    
    // Theme configuration	
    $theme['config'] = Array();
    
    $theme['config'][] = Array(
        'title' => 'Site title',
        'name' => 'title',
        'type' => 'text',
        'default' => 'News'
    );
    
    $theme['config'][] = Array(
        'title' => 'Subtitle',
        'name' => 'subtitle',
        'type' => 'text',
        'default' => 'Latest news and updates',
        'comment' => '(optional)'
    );
    
    $theme['config'][] = Array(
        'title' => 'HTML file',
        'name' => 'html',
        'type' => 'text',
        'default' => 'news.html',
        'comment' => '(eg. "news.html")'
    );
    
    // Unique function name for building everything
    $theme['build_function'] = 'news_build';
?>