lainchan/templates/themes/recent/recent.html

102 lines
2.9 KiB
HTML
Raw Normal View History

{% filter remove_whitespace %}
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
2012-03-03 23:17:30 -05:00
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>{{ settings.title }}</title>
2014-10-06 16:25:47 -04:00
<link rel="stylesheet" media="screen" href="{{ config.root}}stylesheets/style.css"/>
2015-10-07 21:27:10 -04:00
<link rel="stylesheet" media="screen" href="{{ config.root}}stylesheets/recent.css"/>
<link rel="stylesheet" media="screen" href="https://lainchan.org/stylesheets/font-awesome/css/font-awesome.min.css"/>
2012-10-03 21:55:30 -04:00
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}" />{% endif %}
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
{% include 'header.html' %}
</head>
<body>
2014-12-17 00:14:26 -05:00
<div class="bar top">
2014-11-12 19:31:46 -05:00
{{ boardlist.top }}
</div>
2014-09-28 15:41:42 -04:00
2015-10-07 21:27:10 -04:00
<header>
<center>
2016-01-08 20:33:09 -05:00
<img alt="header" class="lain_banner" src="static/lainchan_header_console.gif"/>
2015-10-07 21:27:10 -04:00
</center>
</header>
<br>
<center>
2016-01-08 20:33:09 -05:00
<img alt="mascot" class="lain_banner"src="static/lain_banner1.png"/>
</center>
2015-10-07 21:27:10 -04:00
<br>
<div class="ban" id="global2"> <h2>CYBERPUNK IS DUCK</h2> Pour out the Soykaf, lurk, and read the <a href="https://lainchan.org/rules">rules</a> before posting! </div>
<center> <img alt="mascot" class="lain_banner" src="static/duck.png"></center>
2015-10-07 21:27:10 -04:00
<br>
<div class="ban" id="global3">
<h2>Latest News</h2>
{% if recent_news|count == 0 %}
<p style="text-align:center" class="unimportant">(No news to show.)</p>
{% else %}
{% for entry in recent_news %}
<h4 id="{{ entry.id }}">
{% if entry.subject %}
{{ entry.subject }}
{% else %}
<em>no subject</em>
{% endif %}
<span class="unimportant"> &mdash; by {{ entry.name }} at {{ entry.time|date(config.post_date, config.timezone) }}</span>
</h4>
<p>{{ entry.body }}</p>
{% endfor %}
{% endif %}
</div>
2015-10-07 21:27:10 -04:00
<div class="ban" id="global">
<div class="box left">
<h2>Recent Images</h2>
<ul>
{% for post in recent_images %}
<li>
<a href="{{ post.link }}">
<img src="{{ post.src }}" style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" alt="">
</a>
</li>
{% endfor %}
</ul>
</div>
<div class="box right">
<h2>Latest Posts</h2>
<ul>
{% for post in recent_posts %}
<li>
<strong>{{ post.board_name }}</strong>:
<a href="{{ post.link }}">
{{ post.snippet }}
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
<div class="box right">
<h2>Stats</h2>
<ul>
<li>Total posts: {{ stats.total_posts }}</li>
<li>Unique posters: {{ stats.unique_posters }}</li>
<li>Active content: {{ stats.active_content|filesize }}</li>
</ul>
</div>
</div>
<div class="footer">
2014-04-19 20:27:54 -04:00
<footer>
2015-10-07 21:27:10 -04:00
<center>
<a href="mailto:admin@lainchan.org?Subject=Hello" target="_top">admin@lainchan.org</a>
2015-10-07 21:27:10 -04:00
</center>
2014-04-19 20:27:54 -04:00
</footer>
</div>
</body>
</html>
{% endfilter %}