|
1 | 1 | ---
|
| 2 | +layout: default |
| 3 | +unwrapped: true |
2 | 4 | ---
|
3 |
| - |
4 |
| -<!DOCTYPE html> |
5 |
| -<html lang="{{ page.lang | default: site.lang | default: "en" }}"> |
6 |
| - |
7 |
| - {%- include head.html -%} |
8 |
| - |
9 |
| - <body> |
10 |
| - |
11 |
| - {%- include header.html -%} |
12 |
| - |
13 |
| - <main class="page-content" aria-label="Content"> |
14 |
| - <div class="home"> |
15 |
| - {%- if page.title -%} |
16 |
| - <h1 class="page-heading">{{ page.title }}</h1> |
17 |
| - {%- endif -%} |
18 |
| - |
19 |
| - <section id="call-to-action"> |
20 |
| - <div class="wrapper"> |
21 |
| - <img src="{{ "/assets/wasm-ferris.png" | relative_url }}"/> |
22 |
| - <h2>Learn Rust and WebAssembly</h2> |
23 |
| - <p> |
24 |
| - <a href="https://rustwasm.github.io/book/">Read the Rust and WebAssembly book</a> to |
25 |
| - learn how to design, develop, test, debug, profile, and publish Rust and |
26 |
| - WebAssembly libraries and applications. |
27 |
| - </p> |
28 |
| - <h2>Get Involved</h2> |
29 |
| - <p> |
30 |
| - <a href="https://github.com/rustwasm/team/blob/master/README.md#get-involved">Join the Rust and WebAssembly domain working group!</a> Help us craft the future of Rust and WebAssembly. |
31 |
| - </p> |
32 |
| - </div> |
33 |
| - </section> |
34 |
| - |
35 |
| - {{ content }} |
36 |
| - |
37 |
| - <div class="wrapper"> |
38 |
| - {%- if site.posts.size > 0 -%} |
39 |
| - <section> |
40 |
| - <h2 class="post-list-heading">{{ page.list_title | default: "Blog Posts" }}</h2> |
41 |
| - <ul class="post-list"> |
42 |
| - {%- for post in site.posts -%} |
43 |
| - <li> |
44 |
| - {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} |
45 |
| - <span class="post-meta">{{ post.date | date: date_format }}</span> |
46 |
| - <h3> |
47 |
| - <a class="post-link" href="{{ post.url | relative_url }}"> |
48 |
| - {{ post.title | escape }} |
49 |
| - </a> |
50 |
| - </h3> |
51 |
| - {%- if site.show_excerpts -%} |
52 |
| - {{ post.excerpt }} |
53 |
| - {%- endif -%} |
54 |
| - </li> |
55 |
| - {%- endfor -%} |
56 |
| - </ul> |
57 |
| - |
58 |
| - <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p> |
59 |
| - </section> |
60 |
| - {%- endif -%} |
61 |
| - </div> |
62 |
| - </div> |
63 |
| - </main> |
64 |
| - |
65 |
| - {%- include footer.html -%} |
66 |
| - |
67 |
| - {%- include analytics.html -%} |
68 |
| - |
69 |
| - </body> |
70 |
| - |
71 |
| -</html> |
| 5 | +{%- if page.title -%} |
| 6 | +<h1 class="page-heading">{{ page.title }}</h1> |
| 7 | +{%- endif -%} |
| 8 | + |
| 9 | +<section id="call-to-action"> |
| 10 | + <div class="wrapper"> |
| 11 | + <img src="{{ "/assets/wasm-ferris.png" | relative_url }}"/> |
| 12 | + <h2>Learn Rust and WebAssembly</h2> |
| 13 | + <p> |
| 14 | + <a href="docs.html">Read the Rust and WebAssembly documentation</a> to |
| 15 | + learn how to design, develop, test, debug, profile, and publish Rust and |
| 16 | + WebAssembly libraries and applications. |
| 17 | + </p> |
| 18 | + <h2>Get Involved</h2> |
| 19 | + <p> |
| 20 | + <a href="https://github.com/rustwasm/team/blob/master/README.md#get-involved">Join the Rust and WebAssembly domain working group!</a> Help us craft the future of Rust and WebAssembly. |
| 21 | + </p> |
| 22 | + </div> |
| 23 | +</section> |
| 24 | + |
| 25 | +<div class="wrapper"> |
| 26 | + {{ content }} |
| 27 | +</div> |
0 commit comments