1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-22 04:16:05 +01:00
vichan/templates/themes/categories/news.html

38 lines
1.0 KiB
HTML
Raw Normal View History

2023-03-29 23:59:28 +02:00
{% apply spaceless %}
2012-02-14 11:26:08 +01:00
<!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">
2023-03-29 23:59:28 +02:00
{% if news|length == 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>
{% include 'footer.html' %}
2012-02-14 11:26:08 +01:00
</body>
</html>
2023-03-29 23:59:28 +02:00
{% endapply %}