mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 15:40:12 +01:00
42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
{% filter remove_whitespace %}
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
|
<title>{{ settings.title }}</title>
|
|
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}"/>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1>{{ settings.title }}</h1>
|
|
<div class="subtitle">{{ settings.subtitle }}</div>
|
|
</header>
|
|
|
|
<div class="ban">
|
|
{% if news|count == 0 %}
|
|
<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"> — by {{ entry.name }} at {{ entry.time|date(config.post_date) }}</span>
|
|
</h2>
|
|
<p>{{ entry.body }}</p>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
|
|
<footer>
|
|
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
|
|
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
|
|
<br>Tinyboard Copyright © 2010-2014 Tinyboard Development Group
|
|
<br><a href="https://engine.vichan.net/">vichan</a> Copyright © 2012-2018 vichan-devel</p>
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
{% endfilter %}
|