Tidy up theme.php

This commit is contained in:
discomrade 2021-11-12 03:37:23 -01:00
parent 16d6448204
commit 773f0e1842

View file

@ -37,7 +37,7 @@
$description = "Leftypol is an imageboard where users can post anonymously.</br>We engage in both serious political discourse and informal discussion on various topics related to leftist thought. </br></br>They are... an interesting group of people - <i><a href='https://www.youtube.com/watch?v=rJvAxRCxxCg'>Senpai Wolff</a></i> ";
$metadescription = "Leftypol is an imageboard where users can post anonymously about both serious political discourse and informal discussion on various topics related to leftist thought.";
$metaextra = '<link rel="canonical" href="https://leftypol.org" />'.
'<script type="application/ld+json">{"@context": "https://schema.org","@type": "Organization","url": "https://leftypol.org","logo": "https://leftypol.org/static/leftypol_logo.png"}</script>';
'<script type="application/ld+json">{"@context": "https://schema.org","@type": "Organization","url": "https://leftypol.org","logo": "https://leftypol.org/static/leftypol_logo.png"}</script>'; // other sites should delete this!
$query = query("SELECT * FROM ``news`` ORDER BY `time` DESC") or error(db_error());
$news = $query->fetchAll(PDO::FETCH_ASSOC);
$stats = Categories::getPostStatistics($settings);