diff --git a/inc/instance-config.php b/inc/instance-config.php index a212d323..d75cefe3 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -165,7 +165,7 @@ $config['markup_paragraphs'] = true; $config['markup_rtl'] = true; - $config['boards'] = array(array('' => '/', '' => '/boards.html', '' => '/faq.html', '' => '/random.php', '' => '/create.php', '' => '/bans.html', '' => '/search.php', '' => '/mod.php', '' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'news+', 'boards'), array('operate', 'meta'), array(''=>'https://twitter.com/infinitechan')); + $config['boards'] = array(array('' => '/', '' => '/boards.html', '' => '/faq.html', '' => '/random.php', '' => '/create.php', '' => '/bans.html', '' => '/search.php', '' => '/mod.php', '' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'n', 'boards'), array('operate', 'meta'), array(''=>'https://twitter.com/infinitechan')); //$config['boards'] = array(array('' => '/', '' => '/boards.html', '' => '/faq.html', '' => '/random.php', '' => '/create.php', '' => '/search.php', '' => '/mod.php', '' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'int'), array('v', 'a', 'tg', 'fit', 'pol', 'tech', 'mu', 'co', 'sp', 'boards'), array(''=>'https://twitter.com/infinitechan')); $config['footer'][] = 'All posts on 8chan are the responsibility of the individual poster and not the administration of 8chan, pursuant to 47 U.S.C. § 230.'; diff --git a/index.php b/index.php index a44b56e5..1081ba65 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ fetchAll(PDO::FETCH_ASSOC); } else { @@ -10,4 +10,4 @@ if ($query) { $index = Element("8chan/index.html", array("config" => $config, "newsplus" => $newsplus)); file_write('index.html', $index); -echo $index; \ No newline at end of file +echo $index; diff --git a/templates/8chan/index.html b/templates/8chan/index.html index 14f614b2..caab5157 100644 --- a/templates/8chan/index.html +++ b/templates/8chan/index.html @@ -209,18 +209,18 @@
{% trans %}Welcome to 8chan, the infinitely expanding imageboard.{% endtrans %}
- [ /b/ - Random | /news+/ - News | /boards/ - Boards] + [ /b/ - Random | /n/ - News | /boards/ - Boards]
{% trans %}Top 25 boards:{% endtrans %} -
+
@@ -276,11 +276,11 @@ {% trans %}Create your board{% endtrans %} {% trans %}Browse existing boards{% endtrans %} -

+

Latest headlines
Latest headlines
    {% for n in newsplus[:15] %} -
  1. {{ n.subject|e }} (link)
  2. +
  3. {{ n.subject|e }} (link)
  4. {% endfor %}