forked from leftypol/leftypol
categories: shorten website description
This commit is contained in:
parent
4684d08764
commit
27286cdcee
1 changed files with 4 additions and 5 deletions
|
@ -14,7 +14,7 @@
|
|||
class Categories {
|
||||
public static function build($action, $settings) {
|
||||
global $config;
|
||||
|
||||
|
||||
if ($action == 'all' ||
|
||||
$action == 'boards' ||
|
||||
$action == 'news' ||
|
||||
|
@ -34,8 +34,8 @@
|
|||
// Build homepage
|
||||
public static function homepage($settings) {
|
||||
global $config;
|
||||
$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.";
|
||||
$description = "Leftypol is an anonymous imageboard.</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 anonymous imageboard 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>'; // other sites should delete this!
|
||||
$query = query("SELECT * FROM ``news`` ORDER BY `time` DESC") or error(db_error());
|
||||
|
@ -119,7 +119,7 @@
|
|||
foreach (array_merge(... $config['boards']) as $uri) {
|
||||
$_board = getBoardInfo($uri);
|
||||
if (!$_board) {
|
||||
// board doesn't exist.
|
||||
// board doesn't exist.
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -164,4 +164,3 @@
|
|||
};
|
||||
|
||||
?>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue