mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-25 05:44:57 +01:00
cd444a1c1b
Remove duplicate code footer in all pages Updated the link to the project on github
38 lines
1.0 KiB
HTML
38 lines
1.0 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>
|
|
{{ boardlist.top }}
|
|
<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">{% trans %}(No news to show.){% endtrans %}</p>
|
|
{% else %}
|
|
{% for entry in news %}
|
|
<h2 id="{{ entry.id }}">
|
|
{% if entry.subject %}
|
|
{{ entry.subject }}
|
|
{% else %}
|
|
<em>{% trans %}no subject{% endtrans %}</em>
|
|
{% endif %}
|
|
<span class="unimportant"> — {% trans %}by{% endtrans %} {{ entry.name }} {% trans %}at{% endtrans %} {{ entry.time|date(config.post_date) }}</span>
|
|
</h2>
|
|
<p>{{ entry.body }}</p>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% include 'footer.html' %}
|
|
</body>
|
|
</html>
|
|
{% endfilter %}
|