mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 12:23:48 +01:00
Issue #460 - No linkbanks to the index or frontpage
I've added the infinity logo to page.html. Any standard page (boards / mod pages / plain pages) will have the logo. Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
This commit is contained in:
parent
95e92c40a8
commit
80c312b7e3
@ -93,8 +93,7 @@ $searchHTML = Element("8chan/boards-search.html", array(
|
||||
|
||||
$pageHTML = Element("page.html", array(
|
||||
"config" => $config,
|
||||
"body" => $searchHTML,
|
||||
"title" => "Boards on ∞chan"
|
||||
"body" => $searchHTML
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -152,25 +152,25 @@
|
||||
$config['stylesheets']['Dark'] = 'dark.css';
|
||||
$config['stylesheets']['Photon'] = 'photon.css';
|
||||
$config['stylesheets']['Redchanit'] = 'redchanit.css';
|
||||
|
||||
|
||||
$config['stylesheets_board'] = true;
|
||||
$config['markup'][] = array("/^[ |\t]*==(.+?)==[ |\t]*$/m", "<span class=\"heading\">\$1</span>");
|
||||
$config['markup'][] = array("/\[spoiler\](.+?)\[\/spoiler\]/", "<span class=\"spoiler\">\$1</span>");
|
||||
$config['markup'][] = array("/~~(.+?)~~/", "<s>\$1</s>");
|
||||
$config['markup'][] = array("/__(.+?)__/", "<u>\$1</u>");
|
||||
$config['markup'][] = array("/###([^\s']+)###/", "<a href='/boards.html#\$1'>###\$1###</a>");
|
||||
|
||||
|
||||
$config['boards'] = array(array('<i class="fa fa-home" title="Home"></i>' => '/', '<i class="fa fa-tags" title="Boards"></i>' => '/boards.html', '<i class="fa fa-question" title="FAQ"></i>' => '/faq.html', '<i class="fa fa-random" title="Random"></i>' => '/random.php', '<i class="fa fa-plus" title="New board"></i>' => '/create.php', '<i class="fa fa-ban" title="Public ban list"></i>' => '/bans.html', '<i class="fa fa-search" title="Search"></i>' => '/search.php', '<i class="fa fa-cog" title="Manage board"></i>' => '/mod.php', '<i class="fa fa-quote-right" title="Chat"></i>' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'news+', 'boards'), array('operate', 'meta'), array('<i class="fa fa-twitter" title="Twitter"></i>'=>'https://twitter.com/infinitechan'));
|
||||
//$config['boards'] = array(array('<i class="fa fa-home" title="Home"></i>' => '/', '<i class="fa fa-tags" title="Boards"></i>' => '/boards.html', '<i class="fa fa-question" title="FAQ"></i>' => '/faq.html', '<i class="fa fa-random" title="Random"></i>' => '/random.php', '<i class="fa fa-plus" title="New board"></i>' => '/create.php', '<i class="fa fa-search" title="Search"></i>' => '/search.php', '<i class="fa fa-cog" title="Manage board"></i>' => '/mod.php', '<i class="fa fa-quote-right" title="Chat"></i>' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'int'), array('v', 'a', 'tg', 'fit', 'pol', 'tech', 'mu', 'co', 'sp', 'boards'), array('<i class="fa fa-twitter" title="Twitter"></i>'=>'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.';
|
||||
$config['footer'][] = 'We have not been served any secret court orders and are not under any gag orders.';
|
||||
$config['footer'][] = 'To make a DMCA request or report illegal content, please email <a href="mailto:admin@8chan.co">admin@8chan.co</a>.';
|
||||
|
||||
|
||||
$config['search']['enable'] = true;
|
||||
|
||||
|
||||
$config['syslog'] = true;
|
||||
|
||||
|
||||
$config['hour_max_threads'] = 10;
|
||||
$config['filters'][] = array(
|
||||
'condition' => array(
|
||||
@ -200,6 +200,10 @@ $config['report_captcha'] = true;
|
||||
|
||||
$config['page_404'] = 'page_404';
|
||||
|
||||
// Flavor and design.
|
||||
$config['site_name'] = "∞chan";
|
||||
$config['site_logo'] = "/static/logo_33.svg";
|
||||
|
||||
// 8chan specific mod pages
|
||||
require '8chan-mod-config.php';
|
||||
|
||||
|
BIN
static/nsfw.png
BIN
static/nsfw.png
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
BIN
static/sfw.png
BIN
static/sfw.png
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
@ -1033,6 +1033,23 @@ span.pln {
|
||||
}
|
||||
}
|
||||
|
||||
/* === SITE-WIDE ASSETS === */
|
||||
#logo {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
#logo-link {
|
||||
display: inline;
|
||||
}
|
||||
#logo-img {
|
||||
display: inline-block;
|
||||
height: 128px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* === GENERAL CLASSES === */
|
||||
.loading {
|
||||
background: none;
|
||||
|
@ -12,7 +12,15 @@
|
||||
<body class="8chan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %} stylesheet-{% if config.default_stylesheet.1 != '' and not mod %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
|
||||
{% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr>{% endif %}
|
||||
<header>
|
||||
<h1>{{ title }}</h1>
|
||||
{% if config.site_logo %}
|
||||
<figure id="logo">
|
||||
<a id="logo-link" href="/" title="Return to the front page">
|
||||
<img id="logo-img" src="{{config.site_logo}}" alt="{{config.site_nane}}" />
|
||||
</a>
|
||||
</figure>
|
||||
{% endif %}
|
||||
|
||||
{% if title %}<h1>{{ title }}</h1>{% endif %}
|
||||
<div class="subtitle">
|
||||
{% if subtitle %}
|
||||
{{ subtitle }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user