Allow arbritary overboard creation, make catalog compatible

This commit is contained in:
discomrade 2021-06-01 02:39:39 -02:00
parent 8daf9d79ef
commit 4e0e4f720e
7 changed files with 467 additions and 23 deletions

View file

@ -84,18 +84,11 @@
'comment' => 'Check this if you wish to show a nice tooltip with info about the thread on mouse over.'
);
$theme['config'][] = Array(
'title' => 'Build overboard catalog',
'title' => 'Build overboard catalogs',
'name' => 'has_overboard',
'type' => 'checkbox',
'default' => false,
'comment' => 'Check this if you wish to create a catalog for the overboard.'
);
$theme['config'][] = Array(
'title' => 'Overboard location (default \'overboard\')',
'name' => 'overboard_location',
'type' => 'text',
'default' => 'overboard',
'comment' => 'Fill in the location of the overboard directory. Default is \'overboard\' which corresponds to ./overboard'
'comment' => 'Check this if you wish to create a catalog for the overboard. Requires Overboards theme.'
);
$theme['config'][] = Array(
'title' => 'Max posts in catalog overboard',