Skip to content

Commit 62d4254

Browse files
TatsatJhajdamerow
andauthored
[#145] add event tag and event_date attribute to all past meetups for tracking (#147)
* add event tag and event_date attribute to all past meetups for tracking * add message to the sidebar if there are no upcoming events * update partial with the change from meetup_date to event_date * remove lingering references to old meetup_date attribute * Fixed spelling mistake --------- Co-authored-by: Julia Damerow <[email protected]>
1 parent 2049975 commit 62d4254

12 files changed

+66
-53
lines changed

archetypes/post.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ codeMaxLines: 10 # Override global value for how many lines within a code block
1616
codeLineNumbers: false # Override global value for showing of line numbers within code block.
1717
figurePositionShow: true # Override global value for showing the figure label.
1818
showRelatedInArticle: false # Override global value for showing related posts in this series at the end of the content.
19-
meetup_date: 2024-02-15T15:00:00 # if post is an announcement of a meetup, the date and time of the meetup
19+
event_date: 2024-02-15T15:00:00 # if post is an announcement of an event/meetup, the date and time of the event
2020
registration: https://zoom.registartion.ink/ # if post is an announcement of a meetup or another event with registration, the link to register. It will show up on the top of the post.
2121
categories:
2222
- Technology

content/news/2020-02-27-deploy-packaging.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
title: 'Deployment, Release, and Packaging Workflows'
33
date: '2020-02-27'
4-
meetup_date: 2020-02-27
4+
event_date: 2020-02-27
55
summary: "On February 27, 2020, a total of 11 DHTech members met for a webinar on the topic of deployment, release, and packaging workflows. Several people described the workflows and tools they employ at their organizations followed by a lively (and interesting) discussion of questions and answers."
66
slug: deploy-packaging
77
aliases:
88
- /workshops/2020-02-27-deploy-packaging/
99
tags:
1010
- meetup
11+
- event
1112
---
1213

1314
## Webinar Summary

content/news/2022-02-17-lightning-talks.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'Community Projects Lightning Talks'
33
date: '2022-02-17'
4-
meetup_date: 2022-02-17
4+
event_date: 2022-02-17
55
summary: "On February 17, 2022, members from DHTech came together to learn about some of the projects of community members."
66
recording: https://drive.google.com/file/d/198evThvPZ38mlSjntyBBaD3gCOB3AHnH/view?usp=sharing
77
summary: On February 17, 2022, members from DHTech came together to learn about some of the projects of their fellow community members. A total of five lightning talks were presented. The speakers and their projects are listed below. The meetup was recorded for anyone who wasn't able to join.
@@ -10,6 +10,7 @@ aliases:
1010
- /workshops/2022-02-17-lightning-talks/
1111
tags:
1212
- meetup
13+
- event
1314
- recording
1415
---
1516

content/news/2022-04-13-announcing-april-meetup.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
layout: post
33
title: April DHTech Meetup on Documentation
44
date: 2022-04-13T12:00:00
5-
meetup_date: 2022-04-21
5+
event_date: 2022-04-21
66
author: Julia Damerow
77
summary: On April 21, 2022 at 9am, we will be discussing software documentation (technical, API, end user, etc). Come join us!
88
slug: announcing-april-meetup
99

1010
tags:
1111
- announcement
1212
- meetup
13+
- event
1314
---
1415
The April DHTech meetup will take place on **April 21, 2022 at 9am ET/3pm CEST**. The topic of the meetup will be the various types of **documentation (technical, API, end user, etc)** that might be required when developing software. We plan to discuss different solutions and workflows to write, distribute, and maintain documentation. Have you mastered documenting all aspects of your code? Are you struggling to at least keep a minimum of documentation up to date? Are you somewhere in between? We want to hear and learn from you! All participants are invited to **share their documentation processes and experiences**. Please fill out [this form](https://forms.gle/XowNEod5mzMpsQnB6) if you would like to briefly talk about how you or your team handles documentation, the lessons you’ve learnt, or your favorite documentation tool (no more than 2 minutes and one slide).
1516

content/news/2023-03-30-announcing-april-meetup.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ layout: post
33
title: DHTech April Meetup about the Princeton Geniza Project
44
slug: announcing-april-meetup
55
date: 2023-03-30T10:00:00
6-
meetup_date: 2023-04-20
6+
event_date: 2023-04-20
77
author: Julia Damerow
88
summary: In our April meetup on April 20, 9am ET/3pm CET Rebecca Sutton Koeser will talk about one of her projects.
99

1010
tags:
1111
- announcement
1212
- meetup
13+
- event
1314
---
1415

1516
Rebecca will talk about her work on version four of the [Princeton Geniza Project](https://geniza.princeton.edu/) (PGP). Over the course of a two-year research partnership with Marina Rustow and the Princeton Geniza Lab, they de-siloed data (metadata and transcription text), improved researcher workflow, designed and built a new search interface, implemented a new tool ([annotorious-tahqiq](https://github.com/Princeton-CDH/annotorious-tahqiq)) for creating and editing transcriptions that is designed for RTL languages from the start; incorporated IIIF images from a variety of different institutions, have preliminary dataset exports planned to be used for eventual dataset publication. Technical challenges include: working with data from a long-running project (PGP dates back to the 80s); mixed scripts and bidirectional text (Hebrew, Arabic, Judaeo-Arabic); dates from different historical calendars; displaying text and image together when both are optional; transcription workflow and data format, etc.

content/news/2023-09-28-announcing-october-meetup.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
layout: post
33
title: DHTech October Meetup on Education and Training
44
date: 2023-09-28T15:00:00
5-
meetup_date: 2023-10-05
5+
event_date: 2023-10-05
66
author: DHTech
77
thumbnail: /images/posts/meetup.jpeg
88
featureImage: /images/posts/meetup.jpeg
99
featureImageCap: Photo by <a href="https://unsplash.com/@charlesdeluvio?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">charlesdeluvio</a> on <a href="https://unsplash.com/photos/wn7dOzUh3Rs?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
1010
summary: Our October DHTech Meetup will be on **October 5, 2023, at 9am ET/3pm CET**. We will talk about how DHTech can support training and education of research software engineering work in the Digital Humanities.
1111
tags:
1212
- meetup
13+
- event
1314
---
1415

1516
# DHTech October Meetup on Education and Training

content/news/2024-01-25-announcing-february-meetup.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
layout: post
33
title: DHTech February Meetup on Agent-Based Modeling
44
date: 2024-01-25T15:00:00
5-
meetup_date: 2024-02-15T15:00:00
5+
event_date: 2024-02-15T15:00:00
66
registration: https://asu.zoom.us/meeting/register/tZElduuprjsvEtFkc0xgDwpm5CVREJaBQDNT
77
author: DHTech
88
thumbnail: /images/posts/meetup.jpeg
99
featureImage: /images/posts/meetup.jpeg
1010
featureImageCap: Photo by <a href="https://unsplash.com/@charlesdeluvio?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">charlesdeluvio</a> on <a href="https://unsplash.com/photos/wn7dOzUh3Rs?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
1111
summary: Our February DHTech Meetup will be on **February 15, 2024, at 9am ET/3pm CET**. We will talk about **agent-based modeling (ABM)**.
1212
tags:
13+
- event
1314
- meetup
1415
---
1516

content/news/2024-04-03-announcing-april-meetup.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
layout: post
33
title: DHTech April Meetup on LLMs
44
date: 2024-04-03T15:00:00
5-
meetup_date: 2024-04-18T15:00:00
5+
event_date: 2024-04-18T15:00:00
66
registration: https://asu.zoom.us/meeting/register/tZcsfu2vqDwpGtfYv45G3pP4O0NeJmSerHgi#/registration
77
author: DHTech
88
thumbnail: /images/posts/meetup.jpeg
99
featureImage: /images/posts/meetup.jpeg
1010
featureImageCap: Photo by <a href="https://unsplash.com/@charlesdeluvio?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">charlesdeluvio</a> on <a href="https://unsplash.com/photos/wn7dOzUh3Rs?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
1111
summary: Our April DHTech Meetup will be on **April 18 at 9am ET/3pm CET**. We will be talking about **how large language models (LLMs) affect aspects of research software engineering.**
1212
tags:
13+
- event
1314
- meetup
1415
---
1516

content/news/2024-09-11-announcing-october-meetup.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
layout: post
33
title: DHTech October Meetup on Code Review and AI
44
date: 2024-09-11T15:00:00
5-
meetup_date: 2024-10-10T15:00:00
5+
event_date: 2024-10-10T15:00:00
66
registration: https://asu.zoom.us/meeting/register/tZMpceqqrj4rG9YwvCd3d6gVaVIeeylTn6zI
77
author: DHTech
88
thumbnail: /images/posts/meetup.jpeg
99
featureImage: /images/posts/meetup.jpeg
1010
featureImageCap: Photo by <a href="https://unsplash.com/@charlesdeluvio?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">charlesdeluvio</a> on <a href="https://unsplash.com/photos/wn7dOzUh3Rs?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
1111
summary: Our October DHTech Meetup will be on **October 10, 2024, at 9am ET/3pm CET**. We will briefly introduce the [DHTech Code Review Working Group](https://dhcodereview.github.io/) and then talk about how AI tools can support code review, in general and in digital humanities specifically.
1212
tags:
13+
- event
1314
- meetup
1415
---
1516

content/news/2025-01-31-dhtech-joins-mastodon-bluesky.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ codeMaxLines: 10 # Override global value for how many lines within a code block
1717
codeLineNumbers: false # Override global value for showing of line numbers within code block.
1818
figurePositionShow: true # Override global value for showing the figure label.
1919
showRelatedInArticle: false # Override global value for showing related posts in this series at the end of the content.
20-
# meetup_date: 2024-02-15T15:00:00 # if post is an announcement of a meetup, the date and time of the meetup
20+
# event_date: 2024-02-15T15:00:00 # if post is an announcement of a meetup, the date and time of the meetup
2121
# registration: https://zoom.registartion.ink/ # if post is an announcement of a meetup or another event with registration, the link to register. It will show up on the top of the post.
2222
# categories:
2323
# - Technology

layouts/partials/post-meta.html

+43-43
Original file line numberDiff line numberDiff line change
@@ -6,67 +6,67 @@
66
{{- $scratch := newScratch }}
77
{{- $scratch.Set "writeSeparator" false }}
88
{{- if $showPostMeta }}
9-
<div class="post_meta">
10-
{{- end }}
9+
<div class="post_meta">
10+
{{- end }}
1111
{{- with .Params.author -}}
1212
<span>by {{ . }}</span>
1313
{{- $scratch.Set "writeSeparator" true }}
1414
{{- end -}}
1515
{{- if and $showDate .Params.date }}
16+
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
17+
<span>{{ partial "sprite" (dict "icon" "calendar") }}</span>
18+
<span class="post_date">
19+
{{ .Date.Format (default "Jan 2, 2006" $.Site.Params.dateFormat) -}}
20+
</span>
21+
{{ if .Params.event_date }}
22+
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
23+
<span>{{ partial "sprite" (dict "icon" "calendar") }}</span>
24+
<span class="post_date">
25+
Event date: {{ time.Format "Jan 2, 2006 at 9:00 AM" .Params.event_date -}}
26+
</span>
27+
{{ end }}
28+
{{ if and (.Params.registration) (.Params.event_date) }}
29+
{{ $eventTime := .Params.event_date | time }}
30+
{{ if lt time.Now $eventTime }}
31+
<span>
1632
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
17-
<span>{{ partial "sprite" (dict "icon" "calendar") }}</span>
18-
<span class="post_date">
19-
{{ .Date.Format (default "Jan 2, 2006" $.Site.Params.dateFormat) -}}
20-
</span>
21-
{{ if .Params.meetup_date }}
22-
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
23-
<span>{{ partial "sprite" (dict "icon" "calendar") }}</span>
24-
<span class="post_date">
25-
Meetup date: {{ time.Format "Jan 2, 2006 on 9:00 AM" .Params.meetup_date -}}
26-
</span>
27-
{{ end }}
28-
{{ if and (.Params.registration) (.Params.meetup_date) }}
29-
{{ $meetupTime := .Params.meetup_date | time }}
30-
{{ if lt time.Now $meetupTime }}
31-
<span>
32-
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
33-
<a class="post_tag button " href="{{.Params.registration}}">Register</a>
34-
{{end}}
33+
<a class="post_tag button " href="{{.Params.registration}}">Register</a>
34+
{{end}}
3535
{{ end }}
3636
{{- $scratch.Set "writeSeparator" true }}
37-
</span>
37+
</span>
3838
{{- end }}
3939
{{- if $showReadTime }}
40-
<span class="post_time">{{ if ($scratch.Get "writeSeparator") }} · {{ end }}{{ T "reading_time" . }}</span>
41-
{{- $scratch.Set "writeSeparator" true }}
40+
<span class="post_time">{{ if ($scratch.Get "writeSeparator") }} · {{ end }}{{ T "reading_time" . }}</span>
41+
{{- $scratch.Set "writeSeparator" true }}
4242
{{- end }}
4343
{{/* custom: old dh-tech presentation pages have slides and recording links */}}
4444
{{- if $.Params.slides }}
45-
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
46-
<span class="slides"><a href="{{ $.Params.slides }}">📄 Slides</a></span>
47-
{{- $scratch.Set "writeSeparator" true }}
45+
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
46+
<span class="slides"><a href="{{ $.Params.slides }}">📄 Slides</a></span>
47+
{{- $scratch.Set "writeSeparator" true }}
4848
{{- end }}
4949
{{- if $.Params.recording }}
50-
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
51-
<span class="recording"><a href="{{ $.Params.recording }}">▶️ Recording</a></span>
52-
{{- $scratch.Set "writeSeparator" true }}
50+
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
51+
<span class="recording"><a href="{{ $.Params.recording }}">▶️ Recording</a></span>
52+
{{- $scratch.Set "writeSeparator" true }}
5353
{{- end }}
5454
{{- with .Params.tags -}}
55-
<span>
56-
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
57-
{{- range . }}
58-
{{- $tag := urlize . -}}
59-
<a href='{{ absLangURL (printf "tags/%s/" $tag) }}' title="{{ . }}" class="post_tag button button_translucent">
60-
{{- . }}
61-
</a>
62-
{{- end }}
63-
</span>
64-
{{- $scratch.Set "writeSeparator" true }}
55+
<span>
56+
{{- if ($scratch.Get "writeSeparator") }}&nbsp;· {{ end }}
57+
{{- range . }}
58+
{{- $tag := urlize . -}}
59+
<a href='{{ absLangURL (printf "tags/%s/" $tag) }}' title="{{ . }}" class="post_tag button button_translucent">
60+
{{- . }}
61+
</a>
62+
{{- end }}
63+
</span>
64+
{{- $scratch.Set "writeSeparator" true }}
6565
{{- end }}
6666
{{- if $showShare }}
67-
<span class="page_only">{{ if ($scratch.Get "writeSeparator") }}&nbsp;·{{ end }}{{ partial "share" . }}</span>
68-
{{- $scratch.Set "writeSeparator" true }}
67+
<span class="page_only">{{ if ($scratch.Get "writeSeparator") }}&nbsp;·{{ end }}{{ partial "share" . }}</span>
68+
{{- $scratch.Set "writeSeparator" true }}
6969
{{- end }}
70-
{{- if $showPostMeta }}
71-
</div>
70+
{{- if $showPostMeta }}
71+
</div>
7272
{{- end }}

layouts/partials/sidebar.html

+5
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ <h2 class="mt-4">Upcoming Events</h2>
8686
{{- end }}
8787
{{- end }}
8888

89+
{{- if gt (len $upcomingEvents) 0 }}
8990
{{- range first 5 $upcomingEvents }}
9091
{{- $isMeetup := false }}
9192
{{- range .Params.tags }}
@@ -102,6 +103,10 @@ <h2 class="mt-4">Upcoming Events</h2>
102103
</a>
103104
</li>
104105
{{- end }}
106+
{{- else }}
107+
<p>There are no events scheduled at the moment.</p>
108+
{{- end }}
109+
105110
</ul>
106111

107112
<h2 class="mt-4">{{ T "recent_posts" }}</h2>

0 commit comments

Comments
 (0)