forked from leftypol/leftypol
Define excluded boards as array to simplify code
This commit is contained in:
parent
8938989efb
commit
7cc76fa0ad
3 changed files with 8 additions and 10 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
/*
|
||||
* When adding a new board, rebuild this theme. If necessary, reconfigure the catalog theme.
|
||||
* Exclude list is space-separated (e.g. 'exclude' => 'b games music' )
|
||||
* Exclude list is a PHP array e.g. 'exclude' => array('b', 'games', 'music')
|
||||
*/
|
||||
$thread_limit = 30;
|
||||
|
||||
|
@ -12,14 +12,14 @@
|
|||
'title' => 'Overboard',
|
||||
'uri' => 'overboard',
|
||||
'subtitle' => '30 most recently bumped threads',
|
||||
'exclude' => '',
|
||||
'exclude' => array(),
|
||||
'thread_limit' => $thread_limit,
|
||||
),
|
||||
array(
|
||||
'title' => 'SFW Overboard',
|
||||
'uri' => 'sfwoverboard',
|
||||
'subtitle' => '30 most recently bumped threads from work-safe boards',
|
||||
'exclude' => 'b',
|
||||
'exclude' => array('b'),
|
||||
'thread_limit' => $thread_limit,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue