mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-07 15:11:32 +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
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -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