diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-02-14 21:02:06 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-02-14 21:02:06 +1100 |
| commit | cdfd67c87a6177101f920acbdd33b94d00a13fda (patch) | |
| tree | 531d236500dc37b939d9a559c61f46318156469d /templates/themes/frameset/news.html | |
| parent | bac326a3652fbc98b78db62fc29fc4b7691bbe48 (diff) | |
frameset theme: transition to twig, plus more configurable
Diffstat (limited to 'templates/themes/frameset/news.html')
| -rw-r--r-- | templates/themes/frameset/news.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/themes/frameset/news.html b/templates/themes/frameset/news.html new file mode 100644 index 00000000..538eb945 --- /dev/null +++ b/templates/themes/frameset/news.html @@ -0,0 +1,33 @@ +{% filter remove_whitespace %} +<!doctype html> +<html> +<head> + <title>{{ settings.title }}</title> + <link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}"/> +</head> +<body> + <h1>{{ settings.title }}</h1> + <div class="title">{{ settings.subtitle }}</div> + + <div class="ban"> + {% if news|count == 0 %} + <p style="text-align:center" class="unimportant">(No news to show.)</p> + {% else %} + {% for entry in news %} + <h2 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) }}</span> + </h2> + <p>{{ entry.body }}</p> + {% endfor %} + {% endif %} + </div> + + <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-2012 Tinyboard Development Group</p> +</body> +</html> +{% endfilter %} |
