Skip to content

Commit f9d9e1c

Browse files
committed
fix: more info copied from the signup sheet
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
1 parent 1a2a51f commit f9d9e1c

5 files changed

Lines changed: 32 additions & 19 deletions

File tree

content/events/simple-py.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ schedule:
121121

122122
This event takes place July 13-14 alongside [SciPy
123123
2026](https://www.scipy2026.scipy.org) at the University of Minnesota,
124-
Minneapolis, MN. A signup is coming soon.
124+
Minneapolis, MN.
125+
126+
We can provide airfare and lodging during the workshop days (and a day surrounding them, so July 12-15) for participants. If you'd like to go to SciPy too, we can't cover the SciPy portion of the stay, but airfare is covered and we can pay for the hotel block days during our workshop. Priority will be given to applicants associated with US educational institutions, but feel free to apply if you are not, we can try to get you in if we have space.
127+
128+
This will take place during the SciPy tutorials. You can still go to up to one tutorial session and attend the rest of this workshop; let us know if you need to do that below. We will be sharing some of the same setup as the SciPy tutorials.
129+
130+
A signup is coming soon.
125131

126132
The schedule below is subject to change.

layouts/events/list.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ <h2 class="entry-hint-parent">{{ .Title }}</h2>
2020
<span class="recurring-badge">Monthly</span>
2121
<span class="recurring-next">Next: <span class="meeting-next"></span></span>
2222
</footer>
23-
{{- end }}
24-
{{- if .Params.recurring }}
23+
{{- end }} {{- if .Params.recurring }}
2524
<script src="/js/community-meeting.js" defer></script>
2625
{{- end }}
2726
<a

layouts/events/single.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ <h1 class="post-title">{{ .Title }}</h1>
2424
<span class="recurring-meeting-label">When</span>
2525
<span>
2626
Third Friday of every month at
27-
<a href="https://howlonghowmany.com/my-time/eastern-time/12-pm">12:00 PM ET</a>
27+
<a href="https://howlonghowmany.com/my-time/eastern-time/12-pm"
28+
>12:00 PM ET</a
29+
>
2830
<span class="meeting-next"></span> your time
2931
</span>
3032
</div>

layouts/index.html

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,24 +43,26 @@
4343
</div>
4444

4545
<section class="events-section" id="events">
46-
{{- $events := where site.RegularPages "Section" "events" }}
47-
{{- $featured := slice }}
48-
{{- range $events }}
49-
{{- if or (.Params.recurring) (and (not .Date.IsZero) (.Date.After (now.AddDate 0 0 -1))) }}
50-
{{- $featured = $featured | append . }}
51-
{{- end }}
52-
{{- end }}
53-
54-
{{- if $featured }}
46+
{{- $events := where site.RegularPages "Section" "events" }} {{- $featured :=
47+
slice }} {{- range $events }} {{- if or (.Params.recurring) (and (not
48+
.Date.IsZero) (.Date.After (now.AddDate 0 0 -1))) }} {{- $featured = $featured
49+
| append . }} {{- end }} {{- end }} {{- if $featured }}
5550
<div class="events-grid">
5651
{{- range $featured }}
57-
<a class="event-card {{ if .Params.recurring }}recurring{{ else if not .Date.IsZero }}upcoming{{ end }}" href="{{ .Permalink }}">
52+
<a
53+
class="event-card {{ if .Params.recurring }}recurring{{ else if not .Date.IsZero }}upcoming{{ end }}"
54+
href="{{ .Permalink }}"
55+
>
5856
<span class="event-card-text">
5957
<span class="event-card-title">{{ .Title }}</span>
6058
{{- if .Params.recurring }}
61-
<span class="event-card-date">Next: <span class="meeting-next"></span></span>
59+
<span class="event-card-date"
60+
>Next: <span class="meeting-next"></span
61+
></span>
6262
{{- else if not .Date.IsZero }}
63-
<span class="event-card-date">{{ .Date.Format "January 2, 2006" }}</span>
63+
<span class="event-card-date"
64+
>{{ .Date.Format "January 2, 2006" }}</span
65+
>
6466
{{- end }}
6567
</span>
6668
</a>

static/js/community-meeting.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030

3131
function newYorkTimeToDate(year, month, day, hour, minute) {
3232
const localAsUTC = Date.UTC(year, month, day, hour, minute, 0);
33-
return new Date(localAsUTC - nyOffsetMinutes(new Date(localAsUTC)) * 60_000);
33+
return new Date(
34+
localAsUTC - nyOffsetMinutes(new Date(localAsUTC)) * 60_000,
35+
);
3436
}
3537

3638
function nextThirdFridayET(hour, minute) {
@@ -39,7 +41,7 @@
3941
nyDateFormat
4042
.formatToParts(now)
4143
.filter((p) => p.type !== "literal")
42-
.map((p) => [p.type, p.value])
44+
.map((p) => [p.type, p.value]),
4345
);
4446
let year = Number(parts.year);
4547
let month = Number(parts.month) - 1;
@@ -71,6 +73,8 @@
7173
minute: "2-digit",
7274
timeZoneName: "short",
7375
});
74-
els.forEach((el) => { el.textContent = text; });
76+
els.forEach((el) => {
77+
el.textContent = text;
78+
});
7579
}
7680
})();

0 commit comments

Comments
 (0)