generated from 11ty/eleventy-base-blog
-
Notifications
You must be signed in to change notification settings - Fork 33
/
index.njk
38 lines (31 loc) · 1.42 KB
/
index.njk
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
---
layout: layouts/home.njk
eleventyNavigation:
key: Home
order: 1
---
<section class="container" id="mission">
<h1>Good software is built by happy, well-supported people</h1>
<h2>The Rust Foundation is an independent non-profit organization dedicated to stewarding the <a href="https://www.rust-lang.org">Rust programming language</a>, nurturing the Rust ecosystem, and supporting the set of maintainers governing and developing the project.</h2>
<div class="cta-gradient button"><a href="/info/become-a-member">Become a Member</a></div>
</section>
<section class="container" id="news">
{% set maxNews = collections.news.length | min(3) %}
<h1>News</h1>
{% set newslist = collections.news | head(-3) %}
{% set newslistCounter = collections.news | length + 1 %}
{% include "newslist.njk" %}
<p>More news can be found in <a href="{{ '/news/' | url }}">the newsroom</a>.</p>
</section>
<section class="container" id="events">
{% set maxEvents = collections.events.length | min(3) %}
<h1>Events</h1>
{% set eventslist = collections.events | head(-3) %}
{% set eventslistCounter = collections.events | length + 1 %}
{% include "eventslist.njk" %}
<p>More events can be found in <a href="{{ '/events/' | url }}">the archive</a>.</p>
</section>
<section class="container" id="members">
{% set memberslist = collections.members %}
{% include "memberslist-small.njk" %}
</section>