summaryrefslogtreecommitdiff
path: root/templates/themes/catalog/catalog.html
blob: c69eb7f7143ee2f4052be82ef6b688f37be6559f (plain)
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
{% filter remove_whitespace %}
<!doctype html>
<html>
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<script type='text/javascript'>
		active_page = "catalog";
	</script>
	{% include 'header.html' %}
	<title>{{ settings.title }}</title>
</head>
<body class="theme-catalog">
	{{ boardlist.top }}
	<header>
		<h1>{{ settings.title }} (<a href="{{link}}">/{{ board }}/</a>)</h1>
		<div class="subtitle">{{ settings.subtitle }}</div>
	</header>
	<hr/>
	<ul>
	{% for post in recent_posts %}
		<div class="thread">
			<a href="{{post.link}}">
			{% if post.youtube %}
                                <img src="http://img.youtube.com/vi/{{ post.youtube }}/0.jpg" class="{{post.board}}" title="{{post.bump|date('%b %d %H:%M')}}">
			{% elseif post.file %}
				<img src="{{post.file}}" class="{{post.board}}" title="{{post.bump|date('%b %d %H:%M')}}">
			{% endif %}
			<span class="replies">
				<strong>{% trans %}1 reply{% plural post.reply_count %}{{ count }} replies{% endtrans %}</strong><br/>
				{{ post.body }}
			</span>
			</a>
		</div>
	{% endfor %}
	</ul>
	
	<hr/>
	<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://int.vichan.net/devel/">vichan</a> Copyright &copy; 2012-2014 vichan-devel</p>
	</footer>
        <script type="text/javascript">
                ready();
        </script>
</body>
</html>
{% endfilter %}