Add links to sidebar to Faq and Rules pages

This commit is contained in:
towards-a-new-leftypol 2021-05-15 02:32:56 -04:00
parent 3893e8e331
commit eaa6125f46
2 changed files with 22 additions and 0 deletions

View File

@ -49,6 +49,22 @@ Requires $config[\'categories\'].';
'default' => 'news.html',
'comment' => '(eg. "news.html")'
);
$theme['config'][] = Array(
'title' => 'FAQ file',
'name' => 'file_faq',
'type' => 'text',
'default' => 'faq.html',
'comment' => '(eg. "faq.html")'
);
$theme['config'][] = Array(
'title' => 'Rules file',
'name' => 'file_rules',
'type' => 'text',
'default' => 'rules.html',
'comment' => '(eg. "rules.html")'
);
// Unique function name for building everything
$theme['build_function'] = 'categories_build';

View File

@ -6,6 +6,12 @@
<li>
<a class="system" href="{{ settings.file_news }}">[News]</a>
</li>
<li>
<a class="system" href="{{ settings.file_faq }}">[Help/FAQ]</a>
</li>
<li>
<a class="system" href="{{ settings.file_rules }}">[Rules]</a>
</li>
</ul>
</fieldset>