forked from jonhoo/rust-for-rustaceans.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (54 loc) · 1.65 KB
/
index.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
layout: default
---
<section id="book">
<img src="{{ site.url }}/RustforRustaceans_cover.png" alt="Rust for Rustaceans book cover" id="cover">
<h1>{{ site.title }}</h1>
<p>{{ site.description }}</p>
<p>
You can buy the book <a href="https://nostarch.com/rust-rustaceans">directly
from the publisher</a>, which nets you the ebook for free if you get
the print book, or you can get it from <a
href="https://smile.amazon.com/dp/1718501854">Amazon</a> or a <a
href="https://www.google.com/shopping/product/1147408932313014600/offers">number
of other retailers</a>.
</section>
<section id="testimonials">
<h2>What readers say</h2>
{% for t in site.testimonials reversed %}
<article class="testimonial">
{{ t.content | markdownify }}
<footer><p><a href="{{ t.source }}">{{ t.from }}</a></p></footer>
</article>
{% endfor %}
</section>
<section id="features">
<h2>More about the book</h2>
{% capture featured %}{% include featured.md %}{% endcapture %}
{{ featured | markdownify }}
<p><a href="#errata">Errata for the book is listed further down on this page.</a></p>
<h2>Rotating list of interesting stuff</h2>
{% for feature in site.features reversed %}
<article class="feature">
{{ feature.content | markdownify }}
</article>
{% endfor %}
</section>
<section id="errata">
<h2>Errata</h2>
{% for error in site.errata %}
<article class="error">
<h3>Page {{ error.page }} (chapter {{ error.chapter }})</h3>
{{ error.content | markdownify }}
<footer><p>
{% if error.source %}
<a href="{{ error.source }}">
{% endif %}
Reported by {{ error.reporter }} on {{ error.date | date: "%b %e, %Y" }}.
{% if error.source %}
</a>
{% endif %}
</p></footer>
</article>
{% endfor %}
</section>