blob: 43fa4609afbbeb70b37bbea1773167491eead055 (
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
|
{% extends "base.html" %}
{% block content %}
<div class="row">
<div class="col-md-12 text-center">
<h1 class="pitch">Handpicked Rust updates, <br /> delivered to your inbox.</h1>
<p class="subtext">Stay up to date with events, learning resources, and recent developments in Rust community.</p>
</div>
</div>
{% include "_subscribe-form.html" %}
<div class="row">
<div class="col-md-12">
<ul class="list-unstyled past-issues">
<li class="nav-header disabled"><h2>Past issues</h2></li>
{% for article in articles %}
{% if not RECENT_ARTICLES_COUNT %}
{% set RECENT_ARTICLES_COUNT = 5 %}
{% endif %}
{% if loop.index0 < RECENT_ARTICLES_COUNT %}
<li>
{% include "_post-title.html" %}
</li>
{% endif %}
{% endfor %}
<li class="text-right">
<a href="{{ SITEURL }}/blog/archives/index.html">View more →</a>
</li>
</ul>
</div>
</div>
{% endblock content %}
|