diff --git a/README.md b/README.md
index 7018cdc8..dc84fee8 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,7 @@ A lot of the static pages (claim.html, boards.html, index.html) need to be regen
```cron
*/10 * * * * cd /srv/http; /usr/bin/php /srv/http/boards.php
-*/5 * * * * cd /srv/http; /usr/bin/php /srv/http/claim.php > /srv/http/claim.html
+*/5 * * * * cd /srv/http; /usr/bin/php /srv/http/claim.php
*/20 * * * * cd /srv/http; /usr/bin/php -r 'include "inc/functions.php"; rebuildThemes("bans");'
*/5 * * * * cd /srv/http; /usr/bin/php /srv/http/index.php
```
diff --git a/claim.php b/claim.php
index 456c8a32..11625e85 100644
--- a/claim.php
+++ b/claim.php
@@ -58,4 +58,4 @@ foreach($boards as $board) {
}
}
$body = Element("8chan/claim.html", array("config" => $config, "delete" => $delete));
-echo Element("page.html", array("config" => $config, "body" => $body, "title" => _("Claim"), "subtitle" => _("Take deserted boards back from their owners")));
+file_write("claim.html", Element("page.html", array("config" => $config, "body" => $body, "title" => _("Claim"), "subtitle" => _("Take deserted boards back from their owners"))));
diff --git a/faq.php b/faq.php
index 5da901db..e3023766 100644
--- a/faq.php
+++ b/faq.php
@@ -166,7 +166,7 @@ Assuming the /b/ board, they are as follows:
How do I donate?
Donations can be sent to 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C (Bitcoin) or LUPgSCJt3iGeJXUETVhmnbQ89Riaq1yjZm (Litecoin).
I am also a big fan of Monero (XMR). You can send XMR to our OpenAlias in the simplewallet client, or simply send to 49dBJhGhYFxJEfydS6hH6GRyg1W4cDgupdNVtw7j1WtcUY7xPXwNLw6fUVay644viaCcEhMFG1Z7SjjxRXEFDdNWJdvH9kS.
-If you would like to support development of the engine that 8chan runs on (infinity), you may also donate via Gratipay.
+If you would like to support development of the engine that 8chan runs on (infinity), you may also
.
Are you really a cripple?
Yes.
diff --git a/inc/instance-config.php b/inc/instance-config.php
index 068055b7..14ba4833 100644
--- a/inc/instance-config.php
+++ b/inc/instance-config.php
@@ -166,7 +166,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/post.php b/post.php
index d2f86d11..8860edc8 100644
--- a/post.php
+++ b/post.php
@@ -1034,12 +1034,12 @@ elseif (isset($_POST['post'])) {
event('post-after', $post);
- buildIndex();
-
// We are already done, let's continue our heavy-lifting work in the background (if we run off FastCGI)
if (function_exists('fastcgi_finish_request')) {
@fastcgi_finish_request();
}
+
+ buildIndex();
if ($post['op']) {
rebuildThemes('post-thread', $board['uri']);
diff --git a/stylesheets/style.css b/stylesheets/style.css
index 145ea4e4..a2f69cb8 100644
--- a/stylesheets/style.css
+++ b/stylesheets/style.css
@@ -1650,7 +1650,13 @@ td.board-tags a.tag-link {
display: none;
}
-<<<<<<< HEAD
+.announcement {
+ font-size: 75%;
+ padding-bottom: 1%;
+ margin-left: 25%;
+ margin-right: 25%;
+}
+
/* Gallery view */
#gallery_images {
position: absolute;
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 @@
@@ -276,11 +276,11 @@
{% trans %}Create your board{% endtrans %}
{% trans %}Browse existing boards{% endtrans %}
- Latest headlines |
+
diff --git a/templates/thread.html b/templates/thread.html
index 6ff6fa2c..4e3e825c 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -44,6 +44,10 @@
{% include 'attention_bar.html' %}
+ {% if config.announcement %}
+ {{ config.announcement }}
+ {% endif %}
+