diff options
| -rw-r--r-- | templates/themes/catalog/catalog.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html new file mode 100644 index 00000000..501117a8 --- /dev/null +++ b/templates/themes/catalog/catalog.html @@ -0,0 +1,35 @@ +{% 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 }}"/> + <link rel="stylesheet" media="screen" href="{{ config.root }}{{ settings.css }}"/> + {% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}" />{% endif %} +</head> +<body> + {{ boardlist.top }} + <header> + <h1>{{ settings.title }} (<a href="{{link}}">/{{ board }}/</a>)</h1> + <div class="subtitle">{{ settings.subtitle }}</div> + </header> + + <ul> + {% for post in recent_posts %} + <a href="{{post.link}}"> + <div class="thread"> + <img src="{{post.file}}" class="{{post.board}}" title="{{post.bump|date('%b %d %H:%M')}}"> + <span class="replies"> + <strong>{{ post.reply_count }} {% if post.reply_count == 1 %}{% trans 'reply' %}{% else %}{% trans 'replies' %}{% endif %}</strong><br/>{{ post.body }} + </span> + </div> + </a> + {% endfor %} + </ul> + + <hr/> + <p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> {{ config.version }} | <a href="http://tinyboard.org/">Tinyboard</a> Copyright © 2010-2013 Tinyboard Development Group</p> +</body> +</html> +{% endfilter %} |
