Changes the neccesary alterations to the front page
This commit is contained in:
parent
f9cbcaae91
commit
b37a52028d
|
@ -5,7 +5,7 @@
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
|
||||||
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
|
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
|
||||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark_red.css">
|
<link rel="stylesheet" media="screen" href="/stylesheets/yotsuba.css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.sidebar {
|
.sidebar {
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
<br>Tinyboard Copyright © 2010-2014 Tinyboard Development Group
|
<br>Tinyboard Copyright © 2010-2014 Tinyboard Development Group
|
||||||
<br><a href="https://engine.vichan.net/">vichan</a> Copyright © 2012-2016 vichan-devel
|
<br><a href="https://engine.vichan.net/">vichan</a> Copyright © 2012-2016 vichan-devel
|
||||||
<br><br>
|
<br><br>
|
||||||
<br><b>Leftypol.org is not currently under investigation by any Federal, State, or Local Authorities.</b></p>
|
<br><b>Leftychan.net is not currently under investigation by any Federal, State, or Local Authorities.</b></p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
{% endfilter %}
|
{% endfilter %}
|
||||||
|
|
|
@ -34,9 +34,7 @@
|
||||||
// Build homepage
|
// Build homepage
|
||||||
public static function homepage($settings) {
|
public static function homepage($settings) {
|
||||||
global $config;
|
global $config;
|
||||||
$description = 'Leftypol is a fun and enjoyable space where users can post anonymously.<br>' .
|
$description = 'Welcome to Siberia.';
|
||||||
'We engage in both serious political discourse and less serious informal discussions ' .
|
|
||||||
'on various topics related to leftist thought.';
|
|
||||||
$query = query("SELECT * FROM ``news`` ORDER BY `time` DESC") or error(db_error());
|
$query = query("SELECT * FROM ``news`` ORDER BY `time` DESC") or error(db_error());
|
||||||
$news = $query->fetchAll(PDO::FETCH_ASSOC);
|
$news = $query->fetchAll(PDO::FETCH_ASSOC);
|
||||||
$stats = Categories::getPostStatistics($settings);
|
$stats = Categories::getPostStatistics($settings);
|
||||||
|
|
Loading…
Reference in New Issue