-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
108 lines (92 loc) · 2.26 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
title: Data Commons Cooperative
layout: default
top: true
---
{% include pitch.html %}
<div class="section" id="early">
<h2>Latest post</h2>
<ul class="index">
{% for post in site.posts limit:1 %}
{% unless post.draft %}
<li>
<h3><a href="{{site.baseurl}}{{ post.url }}">{{ post.title }} ({{post.date | date: "%B %Y"}})</a></h3>
</li>
{% endunless %}
{% endfor %}
</ul>
</div>
{% for post in site.posts limit:1 %}
{% unless post.draft %}
{% if post.simple %}
<h1>{{post.title}}</h1>
<div class="section">
{% else %}
<h1>{{post.title}}</h1>
{% endif %}
{{ post.content }}
{% if post.simple %}
</div>
{% endif %}
{% endunless %}
{% endfor %}
<div class="section" id="previous">
<h2>Previous posts</h2>
<ul class="index">
{% for post in site.posts limit:3 offset:1 %}
{% unless post.draft %}
<li>
<h3><a href="{{site.baseurl}}{{ post.url }}">{{ post.title }} ({{post.date | date: "%B %Y"}})</a></h3>
</li>
{% endunless %}
{% endfor %}
</ul>
</div>
{% for post in site.posts limit:3 offset:1 %}
{% unless post.draft %}
{% if post.simple %}
<h1>{{post.title}}</h1>
<div class="section">
{% else %}
<h1>{{post.title}}</h1>
{% endif %}
{{ post.content }}
{% if post.simple %}
</div>
{% endif %}
{% endunless %}
{% endfor %}
<div class="section" id="older">
<h2>Older posts</h2>
<ul class="index">
{% for post in site.posts offset:3 %}
<li>
<h3><a href="{{site.baseurl}}{{ post.url }}">{{ post.title }} ({{post.date | date: "%B %Y"}})</a></h3>
</li>
{% endfor %}
</ul>
</div>
{% if false %}
{% assign drafts = site.posts | where:"draft",true %}
{% if drafts %}
<h2>Drafts</h2>
<ul class="index">
{% for post in drafts %}
<li>
<h3><a class="draft" href="{{site.baseurl}}{{ post.url }}">{{ post.title }} ({{post.date | date: "%B %Y"}})</a></h3>
</li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
<h2>Want updates? Subscribe to our newsletter</h2>
<form action="http://sendy.find.coop/subscribe" method="POST" accept-charset="utf-8">
<label for="name">Name</label><br/>
<input type="text" name="name" id="name"/>
<br/>
<label for="email">Email</label><br/>
<input type="text" name="email" id="email"/>
<br/>
<input type="hidden" name="list" value="UR6ytUtiS2gFu8s0eYyHKA"/>
<input type="submit" name="submit" id="submit"/>
</form>