-
Notifications
You must be signed in to change notification settings - Fork 344
/
Copy pathhome.html
45 lines (41 loc) · 2.51 KB
/
home.html
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
39
40
41
42
43
44
45
<section class="intro">
<div class="wrapper">
{% set social = config.extra.social_links -%}
<p class="intro-icons" aria-hidden="true">
<svg><use xlink:href="{{ get_url(path='intro-icons.svg#crab') }}"></use></svg>
<svg><use xlink:href="{{ get_url(path='intro-icons.svg#heart') }}"></use></svg>
<svg><use xlink:href="{{ get_url(path='intro-icons.svg#joystick') }}"></use></svg>
</p>
<p class="intro-lead">
Making Rust a first-class choice for game development
</p>
<p>
The Rust game development working group's goals are to improve the experience of using Rust to make games, and to make it accessible even if you're not an experienced engine/graphics developer.
</p>
<p>
Join us on
<a href="https://github.com/{{ social.github | urlencode }}/wg"><svg class="svg-icon"><use xlink:href="{{ get_url(path='minima-social-icons.svg#github') }}"></use></svg> GitHub</a>
or
<a href="https://discord.gg/{{ social.discord | urlencode }}"><svg class="svg-icon"><use xlink:href="{{ get_url(path='minima-social-icons.svg#discord') }}"></use></svg> Discord</a>,
and help shape the future of game development in Rust!
</p>
</div>
</section>
<div class="home wrapper">
<h2 class="post-list-heading">{{ section.title | default(value="Latest News") }}</h2>
{% set posts_news = get_section(path="news/_index.md") %}
{% set pages_news = posts_news.pages | slice(end=config.extra.home.max_posts) %}
{{ macros::post_list(posts=pages_news, placeholder="None yet - stay tuned for updates and announcements!") }}
<h2 class="post-list-heading">{{ section.title | default(value="Latest Blog Posts") }}</h2>
{% set posts_blog = get_section(path="blog/_index.md") %}
{% set pages_blog = posts_blog.pages | slice(end=config.extra.home.max_posts) %}
{{ macros::post_list(posts=pages_blog, placeholder="None yet - stay tuned for updates and announcements!") }}
<p class="feed-subscribe">
<a class="btn" id="all-news" href="{{ get_url(path='news/') }}">All News</a>
<a class="btn" id="all-blog-posts" href="{{ get_url(path='blog/') }}">All Blog Posts</a>
<a href="{{ get_url(path='rss.xml') }}">
<svg class="svg-icon orange"><use xlink:href="{{ get_url(path='minima-social-icons.svg#rss') }}"></use></svg><span>Subscribe</span>
</a>
{% include "includes/email_signup.html" %}
</p>
</div>