Skip to content

Commit 99e449f

Browse files
committed
Add Google drive to camps
1 parent 68447a8 commit 99e449f

File tree

4 files changed

+61
-19
lines changed

4 files changed

+61
-19
lines changed

_layouts/camp.html

+13-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,21 @@ <h1 class="camp-title">{{ site.title }} {{ page.starts | date: '%Y' }} {{ page.c
2424
{% endfor %}
2525
</ul>
2626
</section>
27+
28+
{% if page.gdrive %}
29+
<section id="resources" class="content resources">
30+
<h2>
31+
Resources
32+
<span class="inline-add"><a href="{{ page.gdrive }}">(see all)</a></span>
33+
</h2>
34+
35+
<iframe src="https://drive.google.com/embeddedfolderview?{{ page.gdrive | split:'?' | last | split:'#' | first }}#grid" style="height: 460px"></iframe>
36+
</section>
37+
{% endif %}
38+
2739
</article>
2840

41+
<!-- Find locations and create the map -->
2942
<script type="text/javascript" src="{{ site.baseurl }}/js/leaflet.min.js"></script>
3043
<script type="text/javascript" src="{{ site.baseurl }}/js/Control.Geocoder.js"></script>
3144
<script type="text/javascript"><!--
@@ -57,5 +70,4 @@ <h1 class="camp-title">{{ site.title }} {{ page.starts | date: '%Y' }} {{ page.c
5770
}.bind(marker));
5871
}
5972
//--></script>
60-
6173
</div>

_sass/_base.scss

+44-18
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,39 @@
1+
//
2+
// General
3+
//
14

25
// if no navbar, add some extra space
36
body > .container:first-child {
47
padding-top: 35px;
58
}
69

10+
// Footer
11+
.site-footer {
12+
text-align: center;
13+
color: #777;
14+
15+
a {
16+
color: #777;
17+
}
18+
19+
a:hover, a:active {
20+
color: #23527c;
21+
}
22+
23+
.fa {
24+
margin: 0 5px;
25+
}
26+
27+
ul > li {
28+
display: inline-block;
29+
margin: 0 0.4em;
30+
}
31+
}
32+
33+
34+
//
35+
// Frontpage
36+
//
737
.cc-jumbo {
838
h1 {
939
margin-top: 0;
@@ -27,6 +57,11 @@ body > .container:first-child {
2757
background: #337AB7;
2858
}
2959

60+
61+
//
62+
// Camps
63+
//
64+
3065
.centered-blocks {
3166
display: block;
3267

@@ -36,24 +71,15 @@ body > .container:first-child {
3671
}
3772
}
3873

39-
.site-footer {
40-
text-align: center;
41-
color: #777;
42-
43-
a {
44-
color: #777;
45-
}
46-
47-
a:hover, a:active {
48-
color: #23527c;
49-
}
50-
51-
.fa {
52-
margin: 0 5px;
53-
}
74+
.resources iframe {
75+
width: 100%;
76+
border: none;
77+
}
5478

55-
ul > li {
56-
display: inline-block;
57-
margin: 0 0.4em;
79+
h1, h2, h3, h4 {
80+
.inline-add {
81+
font-size: 14px;
82+
font-weight: normal;
83+
vertical-align: baseline;
5884
}
5985
}

camps/2014-10-amsterdam.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ layout: camp
44
starts: 4 Oct 2014
55
ends: 8 Oct 2014
66
city: Amsterdam
7+
78
fb_event: https://www.facebook.com/events/338065469676994/
9+
gdrive: https://drive.google.com/open?id=0Bwdm_3hXVoz6ZmZodlRFOVppejg
810

911
locations:
1012
- name: Knowmads

camps/2015-05-paris.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ layout: camp
44
starts: 22 May 2015
55
ends: 25 May 2015
66
city: Paris
7+
78
fb_event: https://www.facebook.com/events/1613389028892817/
9+
gdrive: https://drive.google.com/folderview?id=0BxdLEgQI2gQBb2RMb2RJMC02Y3c
810

911
locations:
1012
- name: Simplon.co

0 commit comments

Comments
 (0)