1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-18 10:25:55 +01:00
vichan/templates/themes/categories/news.html

43 lines
1.4 KiB
HTML
Raw Normal View History

2012-02-14 11:26:08 +01:00
{% filter remove_whitespace %}
<!doctype html>
<html>
<head>
2012-03-04 05:17:30 +01:00
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
2012-02-14 11:26:08 +01:00
<title>{{ settings.title }}</title>
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}"/>
</head>
<body>
{{ boardlist.top }}
2012-04-22 08:52:24 +02:00
<header>
<h1>{{ settings.title }}</h1>
<div class="subtitle">{{ settings.subtitle }}</div>
</header>
2012-02-14 11:26:08 +01:00
<div class="ban">
{% if news|count == 0 %}
2013-07-27 07:43:09 +02:00
<p style="text-align:center" class="unimportant">{% trans %}(No news to show.){% endtrans %}</p>
2012-02-14 11:26:08 +01:00
{% else %}
{% for entry in news %}
<h2 id="{{ entry.id }}">
{% if entry.subject %}
{{ entry.subject }}
{% else %}
2013-07-27 07:43:09 +02:00
<em>{% trans %}no subject{% endtrans %}</em>
2012-02-14 11:26:08 +01:00
{% endif %}
2013-07-27 07:43:09 +02:00
<span class="unimportant"> &mdash; {% trans %}by{% endtrans %} {{ entry.name }} {% trans %}at{% endtrans %} {{ entry.time|date(config.post_date) }}</span>
2012-02-14 11:26:08 +01:00
</h2>
<p>{{ entry.body }}</p>
{% endfor %}
{% endif %}
</div>
2014-04-20 02:27:54 +02:00
<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 &copy; 2010-2014 Tinyboard Development Group
2018-03-02 02:57:53 +01:00
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
2014-04-20 02:27:54 +02:00
</footer>
2012-02-14 11:26:08 +01:00
</body>
</html>
{% endfilter %}