-
Notifications
You must be signed in to change notification settings - Fork 0
/
newspage.html
50 lines (50 loc) · 2.1 KB
/
newspage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!-- TO APPLY THIS, EITHER DOWNLOAD HTML FILE AND REPLACE THE INDEX IN templates/themes/basic/ OR COPY THE HTML,
WHEN YOURE DONE RENAME THIS TO index.html. DO NOT REMOVE ANYTHING ELSE WITHIN THE basic/ DIRECTORY OTHER THAN HTML.
IF YOU WANT THIS TO BE IN THE FRAMESET, INDEX OR CATEGORIES, COPY LINE 24 TO 45. MADE FOR ONLY basic/ THEME!
-->
{% apply spaceless %}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{{ settings.title }}</title>
{% if config.meta_keywords %}<meta name="keywords" content="{{ config.meta_keywords }}">{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}">{% endif %}
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
{% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}">{% endif %}
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
</head>
<body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %}" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
{{ boardlist.top }}
<header>
<h1>{{ settings.title }}</h1>
<div class="subtitle">{{ settings.subtitle }}</div>
</header>
<div class="outerbox">
<div class="innerbox">
<h2>News</h2>
</div>
<div class="news">
{% if news|length == 0 %}
<p style="text-align:center" class="unimportant">(No news to show.)</p>
{% else %}
{% for entry in news %}
<h2 class="titlenew" 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, config.timezone) }}</span>
</h2>
<p>{{ entry.body }}</p>
{% endfor %}
{% endif %}
</div>
</div>
<hr/>
{% include 'footer.html' %}
</body>
</html>
{% endapply %}