lainchan/templates/themes/categories/news.html

43 lines
1.5 KiB
HTML
Raw Normal View History

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