1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-12 15:51:17 +01:00
vichan/templates/themes/basic/index.html

44 lines
1.6 KiB
HTML
Raw Normal View History

2023-03-29 23:59:28 +02:00
{% apply spaceless %}
2012-02-07 23:08:13 +01:00
<!doctype html>
<html>
<head>
2014-03-31 20:20:18 +02:00
<meta charset="utf-8">
2012-02-07 23:08:13 +01:00
<title>{{ settings.title }}</title>
2014-03-31 20:20:18 +02:00
{% if config.meta_keywords %}<meta name="keywords" content="{{ config.meta_keywords }}">{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}">{% endif %}
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
2014-03-31 20:41:30 +02:00
{% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}">{% endif %}
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
2012-02-07 23:08:13 +01:00
</head>
<body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %}" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
2012-02-07 23:08:13 +01:00
{{ boardlist.top }}
2012-04-22 08:52:24 +02:00
<header>
<h1>{{ settings.title }}</h1>
<div class="subtitle">{{ settings.subtitle }}</div>
</header>
2024-04-03 17:19:45 +02:00
2012-02-07 23:08:13 +01:00
<div class="ban">
2023-03-29 23:59:28 +02:00
{% if news|length == 0 %}
2012-02-07 23:08:13 +01:00
<p style="text-align:center" class="unimportant">(No news to show.)</p>
{% else %}
{% for entry in news %}
<h2 id="{{ entry.id }}">
{% if entry.subject %}
{{ entry.subject }}
{% else %}
<em>no subject</em>
{% endif %}
<span class="unimportant"> &mdash; by {{ entry.name }} at {{ entry.time|date(config.post_date) }}</span>
2012-02-07 23:08:13 +01:00
</h2>
<p>{{ entry.body }}</p>
{% endfor %}
{% endif %}
</div>
2024-04-03 17:19:45 +02:00
2012-02-07 23:08:13 +01:00
<hr/>
{% include 'footer.html' %}
2012-02-07 23:08:13 +01:00
</body>
</html>
2023-03-29 23:59:28 +02:00
{% endapply %}