forked from civictechdc/civictechdc-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_old.html
executable file
·267 lines (252 loc) · 8.22 KB
/
index_old.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
---
layout: default
---
<div class="row">
<div class="col-sm-12">
<p class="h2">
Civic Tech DC is a non-partisan, non-political group of volunteer civic
hackers working together to solve local issues and help people engage with
the city.<br /><br />
</p>
</div>
</div>
<!-- if an event page has been created for this day, show that, otherwise pull from meetup -->
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<b>Next Civic Tech DC [or "Tonight's event" if tonight]</b>
<a class="pull-right" href="https://www.meetup.com/Civic-Tech-DC/events/"
>All upcoming events »</a
>
</h3>
</div>
<div class="panel-body">
{% for post in site.categories['events'] limit:1 %}
<strong>6pm {{ post.date | date: "%A, %B %-d, %Y" }}</strong>
<h2 class="no-margin-top">
<small>#{{post.event_id}}</small>
<a href="{{post.url}}">{{post.title}}</a>
</h2>
<div class="row">
<div class="col-sm-7">
{% if post.description %}
<p>{{ post.description }}</p>
{% endif %}
<br />
{% if site.time <= post.date %}
<a
class="btn btn-success btn-lg"
href="http://chihacknight.eventbrite.com/"
target="_blank"
><i class="fa fa-check-square-o"></i> RSVP (required)</a
>
{% endif %}
<a class="btn btn-link btn-lg" href="{{post.url}}"
><i class="fa fa-info-circle-square-o"></i> Details</a
>
<a class="btn btn-link btn-lg" href="{{post.agenda}}" target="_blank"
><i class="fa fa-file-text-o"></i> Agenda</a
>
</div>
<div class="col-sm-5">
{% if post.image %}
<a href="{{post.url}}"
><img
class="img-responsive img-thumbnail"
src="{{post.image}}"
alt="{{post.title}}"
/></a>
{% if post.image_credit %}
<br /><small class="pull-right"
><em>Photo: {{ post.image_credit }}</em></small
>
{% endif %} {% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
{% for post in site.categories['satellite'] limit:1 %} {% if site.time <=
post.date %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><b>Next Community Event</b></h3>
</div>
<div class="panel-body">
<strong>6pm {{ post.date | date: "%A, %B %-d, %Y" }}</strong>
<h2 class="no-margin-top">
<a href="{{post.url}}">{{post.title}}</a>
</h2>
<div class="row">
<div class="col-sm-7">
{% if post.description %}
<p>{{ post.description }}</p>
{% endif %}
<br />
{% if site.time <= post.date %}
<a class="btn btn-success btn-lg" href="{{post.rsvp}}" target="_blank"
><i class="fa fa-check-square-o"></i> RSVP</a
>
{% endif %}
<a class="btn btn-link btn-lg" href="{{post.url}}"
><i class="fa fa-info-circle-square-o"></i> Details</a
>
<a class="btn btn-link btn-lg" href="{{post.agenda}}" target="_blank"
><i class="fa fa-file-text-o"></i> Agenda</a
>
</div>
<div class="col-sm-5">
{% if post.image %}
<a href="{{post.url}}"
><img
class="img-responsive img-thumbnail"
src="{{post.image}}"
alt="{{post.title}}"
/></a>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %} {% endfor %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<b>Most recent event</b>
<a class="pull-right" href="/events/">All past events »</a>
</h3>
</div>
<div class="panel-body">
{% for post in site.categories['events'] limit:1 %}
<strong>6pm {{ post.date | date: "%A, %B %-d, %Y" }}</strong>
<h2 class="no-margin-top">
<small>#{{post.event_id}}</small>
<a href="{{post.url}}">{{post.title}}</a>
</h2>
<div class="row">
<div class="col-sm-7">
{% if post.description %}
<p>{{ post.description }}</p>
{% endif %}
<br />
{% if site.time <= post.date %}
<a
class="btn btn-success btn-lg"
href="http://chihacknight.eventbrite.com/"
target="_blank"
><i class="fa fa-check-square-o"></i> RSVP (required)</a
>
{% endif %}
<a class="btn btn-link btn-lg" href="{{post.url}}"
><i class="fa fa-info-circle-square-o"></i> Details</a
>
<a class="btn btn-link btn-lg" href="{{post.agenda}}" target="_blank"
><i class="fa fa-file-text-o"></i> Agenda</a
>
</div>
<div class="col-sm-5">
{% if post.image %}
<a href="{{post.url}}"
><img
class="img-responsive img-thumbnail"
src="{{post.image}}"
alt="{{post.title}}"
/></a>
{% if post.image_credit %}
<br /><small class="pull-right"
><em>Photo: {{ post.image_credit }}</em></small
>
{% endif %} {% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<b>Latest blog post [only display if it was within past X time frame]</b>
<a class="pull-right" href="/blog/">All posts »</a>
</h3>
</div>
<div class="panel-body">
{% assign post_special = site.categories['blog'] | where: "author", "Steven
Reilly and Matt Bailey" %} {% for post in post_special limit:1 %}
<div class="row">
<div class="col-sm-4">
{% if post.image %}
<img
class="img-thumbnail img-responsive"
src="{{post.image}}"
alt="{{ post.title }}"
/>
{% else %}
<img
class="img-thumbnail img-responsive"
src="/images/logo/logo.png"
alt="{{ post.title }}"
/>
{% endif %}
</div>
<div class="col-sm-8">
<h4>
<a href="{{post.url}}">{{ post.title }}</a>
</h4>
<p>
<small
>{{ post.date | date: "%b %-d, %Y" }} by
<a class="muted" href="{{post.author_url}}">{{post.author}}</a>
{% if post.author2 %} ,
<a class="muted" href="{{post.author2_url}}">{{post.author2}}</a>
{% endif %}
</small>
<br />
{{ post.description | markdownify }}
<a href="{{post.url}}">Read more »</a>
</p>
<br />
</div>
</div>
{% endfor %}
</div>
</div>
<div class="row">
<div class="col-sm-12">
<h2 id="about">Welcome!</h2>
<p>
Founded in 2012, Civic Tech DC is a non-partisan, non-political group of
volunteer civic hackers working together to solve local issues and help
people engage with the city. We host twice-monthly hacknights and other
events to gather, discuss, and get stuff done.
</p>
<p>
We're looking to bring people with all different skill sets together to
maximize our potential. Civic hackers aren't just developers—they're
journalists, lawyers, designers, and interested citizens in general. The
more community participation, the better.
</p>
<!-- <hr />
<h2 id='community'>Join our community</h2>
<p>Chi Hack Night is a central hub for <a href='/community.html'>Chicago's civic tech community</a>. Here's the three best ways to get involved:</p>
<div class='row text-center'>
<div class='col-sm-4'>
<div class='well'>
<h1><i class='fa fa-fw fa-calendar'></i></h1>
<p>1. Go to Chi Hack Night. <a href='http://chihacknight.eventbrite.com/'>We meet every Tuesday at 6pm</a></p>
</div>
</div>
<div class='col-sm-4'>
<div class='well'>
<h1><i class='fa fa-fw fa-envelope'></i></h1>
<p>2. <a href='http://eepurl.com/z65hn'>Subscribe to updates</a> on upcoming speakers and events</p>
</div>
</div>
<div class='col-sm-4'>
<div class='well'>
<h1><i class='fa fa-fw fa-group'></i></h1>
<p>3. Browse our <a href='/breakouts.html'>weekly breakouts</a> to find your group</p>
</div>
</div>
</div> -->
</div>
</div>