generated from CloudCannon/treat-jekyll-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·230 lines (216 loc) · 7.46 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
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
---
title: Home
---
<!-- Here is where the chart is generated/stored. We can add new columns relatively easily. -->
<div id="fundraising-progress-chart">
<table class="charts-css column show-labels show-primary-axis show-heading show-5-secondary-axes data-end">
<caption> <b>PCBakers fundraising cumulative total</b> </caption>
<tbody>
<th scope="row">May 2022</th>
<td style="--size: calc( 1015.50 / 30000 )">
<span class="data inside">€1015</span>
<span class="tooltip">€1015.50 raised in first bake sale in May, 2022</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Jun</th>
<td style="--size: calc( 1999.95 / 30000 )">
<span class="data inside">€1999</span>
<span class="tooltip">€984.45 raised in June, 2022</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Jul</th>
<td style="--size: calc( 2751.95 / 30000 )">
<span class="data inside">€2751</span>
<span class="tooltip">€752 raised in July, 2022</span>
</td>
</tr>
<th scope="row" class="hide-label">Sep</th>
<td style="--size: calc( 3575.15 / 30000 )">
<span class="data inside">€3575</span>
<span class="tooltip">€823.20 raised in September, 2022</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Oct</th>
<td style="--size: calc( 4274.65 / 30000 )">
<span class="data">€4274</span>
<span class="tooltip">€699.50 raised in October, 2022</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Nov</th>
<td style="--size: calc( 4875.65 / 30000 )">
<span class="data">€4875</span>
<span class="tooltip">€601 raised in November, 2022</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Dec</th>
<td style="--size: calc( 5605.65 / 30000 )">
<span class="data">€5605</span>
<span class="tooltip">€730 raised in December, 2022</span>
</td>
</tr>
<tr>
<th scope="row">Jan 2023</th>
<td style="--size: calc( 6428.40 / 30000 )">
<span class="data">€6428</span>
<span class="tooltip">€822.75 raised in January, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Feb</th>
<td style="--size: calc( 7670.40 / 30000 )">
<span class="data">€7670</span>
<span class="tooltip">€1242 raised on February 17th, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Feb</th>
<td style="--size: calc( 8488.40 / 30000 )">
<span class="data">€8488</span>
<span class="tooltip">€818 raised on February 28th, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Mar</th>
<td style="--size: calc( 9398.40 / 30000 )">
<span class="data">€9398</span>
<span class="tooltip">€910 raised in March, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Apr</th>
<td style="--size: calc( 10653.9 / 30000 )">
<span class="data">€10654</span>
<span class="tooltip">€1255 raised in April, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">May</th>
<td style="--size: calc( 11434.6 / 30000 )">
<span class="data">€11435</span>
<span class="tooltip">€781 raised in May, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Jun</th>
<td style="--size: calc( 12275.80 / 30000 )">
<span class="data">€12276</span>
<span class="tooltip">€841 raised on June 15th, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Jun</th>
<td style="--size: calc( 12878.9 / 30000 )">
<span class="data">€12879</span>
<span class="tooltip">€603 raised on June 21st, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Jul</th>
<td style="--size: calc( 13696.97 / 30000 )">
<span class="data">€13697</span>
<span class="tooltip">€818 raised in July, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Sep</th>
<td style="--size: calc( 14566.12 / 30000 )">
<span class="data">€14566</span>
<span class="tooltip">€859 raised in September, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Oct</th>
<td style="--size: calc( 15156.12 / 30000 )">
<span class="data">€15156</span>
<span class="tooltip">€600 raised on October 10th, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Oct</th>
<td style="--size: calc( 15607.12 / 30000 )">
<span class="data">€15607</span>
<span class="tooltip">€451 raised on October 31st, 2023</span>
</td>
</tr>
<tr>
<th scope="row" class="hide-label">Nov</th>
<td style="--size: calc( 16447.12 / 30000 )">
<span class="data">€16447</span>
<span class="tooltip">€840 raised on November 29th, 2023</span>
</td>
<tr>
<th scope="row" class="hide-label">Dec</th>
<td style="--size: calc( 16907.62 / 30000 )">
<span class="data">16908</span>
<span class="tooltip">€460 raised on December 19th, 2023</span>
</td>
<tr>
<th scope="row">Jan 2024</th>
<td style="--size: calc( 17624.32 / 30000 )">
<span class="data">€17624</span>
<span class="tooltip">€717 raised on January 24th, 2024</span>
</td>
<tr>
<th scope="row" class="hide-label">Feb</th>
<td style="--size: calc( 18118.82 / 30000 )">
<span class="data">€18119</span>
<span class="tooltip">€495 raised on February 19th, 2024</span>
</td>
<tr>
<th scope="row" class="hide-label">Mar</th>
<td style="--size: calc( 19202.92 / 30000 )">
<span class="data">€19203</span>
<span class="tooltip">€1084 raised on March 21st, 2024</span>
</td>
<tr>
<th scope="row" class="hide-label">Apr</th>
<td style="--size: calc( 20744.82 / 30000 )">
<span class="data">€20745</span>
<span class="tooltip">€1542 raised on April 18th, 2024</span>
</td>
<tr>
<th scope="row" class="hide-label">May</th>
<td style="--size: calc( 21667.82 / 30000 )">
<span class="data">€21668</span>
<span class="tooltip">€923 raised on May 22nd, 2024</span>
</td>
<!-- Here is where new entries need to be added (above this line) with <tr></tr> and everything in between. If we go over 20k, we need to update the # of grid lines and the max value in --size:calc( value/<max value>) in the calculations of each column's height.
<tr>
<th scope="row" class="hide-label"></th>
<td style="--size: calc( / 30000 )">
<span class="data">€</span>
<span class="tooltip">€ raised on</span>
</td>
end of comment -->
</tbody>
</table>
</div>
<!-- Here is the end of the chart -->
<section class="posts">
{% for post in paginator.posts %}
<article class="post">
{% include post-heading.html post=post %}
<div class="image" style="max-width:800px; height:auto " >
<a href="{{ site.baseurl }}{{ post.url }}"><img src="{{ post.featured_image }}" alt="{{ post.title }}"></a>
</div>
{{ post.excerpt }}
<p><a class="button" href="{{ site.baseurl }}{{ post.url }}">Read more</a></p>
</article>
{% endfor %}
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="previous btn">← Newer posts</a>
{% endif %}
<span class="page_number ">{{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="next btn">Older posts →</a>
{% endif %}
</div>
{% endif %}
</section>