Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions config/_default/menus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,15 @@ main:
url: news
weight: 50
- name: '<span style="font-size: 1.2rem;">Events</span>'
url: events
weight: 60
- parent: '<span style="font-size: 1.2rem;">Events</span>'
name: '<span style="font-size: 1rem;">Current Events</span>'
url: events/events-current
weight: 61
url: events
weight: 60
- parent: '<span style="font-size: 1.2rem;">Events</span>'
name: '<span style="font-size: 1rem;">Past Events</span>'
url: past-events
weight: 61
- parent: '<span style="font-size: 1.2rem;">Events</span>'
name: '<span style="font-size: 1rem;">ReSA Community Calls</span>'
url: events/community-calls
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "People Roadmap Webinar"
subtitle: "Report update"
date: "2021-11-01"

authors:
- ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "2024 International Research Software Funders Workshop"
subtitle: "Towards a monitoring framework to benchmark the ADORE.software recommendations and improve the sustainability of research software"
date: "2024-01-23"

authors:
- ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Towards an international research software conference: Join our committees!"
subtitle: ""
date: "2025-02-11"

authors:
- ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ authors:

categories:
- Event
- Past

summary: "Read more..."
image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Supporting Research Software in Research Policy and Funding Programs"
subtitle: ""
date: "2025-04-09"

authors:
- ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "New ReSA forums advance global research software efforts"
subtitle: ""
date: "2025-05-16"
status: current
authors:
- ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "International Research Software Conference"
subtitle: ""
date: "2025-10-15"
status: current
authors:
- ""

Expand Down
8 changes: 4 additions & 4 deletions content/events/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Events"
title: "Current Events"
date: 2025-05-22
type: landing

---
type: events
layout: list
---
19 changes: 0 additions & 19 deletions content/events/events-current/_index.md

This file was deleted.

16 changes: 0 additions & 16 deletions content/events/events-past/_index.md

This file was deleted.

4 changes: 4 additions & 0 deletions content/events/rse-ai-workshop/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ title: "Research Software Engineering in the Age of Generative AI: Building a Co
date: 2025-12-15
type: landing

categories:
- Event
- Past

sections:
- block: markdown
content:
Expand Down
10 changes: 10 additions & 0 deletions content/past-events/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Past Events
cms_exclude: true
type: past-events
layout: list

header:
caption: ''
image: ''
---
75 changes: 75 additions & 0 deletions layouts/events/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{{ define "main" }}
<div class="universal-wrapper">
<div class="row">
<div class="col-lg-12">
{{ with .Title }}
<h1>{{ . }}</h1>
{{ end }}

{{ with .Params.header.caption }}
<p class="page-subtitle">{{ . | markdownify }}</p>
{{ end }}

{{ .Content }}

{{/* Display current/ongoing events */}}
{{/* Users set status: current for active events, status: past for completed ones */}}

{{ $eventsSection := .Site.GetPage "/events" }}
{{ $allEventPages := $eventsSection.Pages }}

{{/* Filter to only regular pages (exclude sections) with status: current */}}
{{ $regularPages := where $allEventPages "Kind" "page" }}
{{ $events := where $regularPages "Params.status" "current" }}
{{ $events = $events | first 100 }}


{{ if gt (len $events) 0 }}
<div class="row isotope projects-container">
{{ range sort $events ".Date" "desc" }}
{{/* Skip _index pages */}}
{{ if ne .Kind "section" }}
<div class="col-12 col-lg-12 mb-4 isotope-item">
<div class="card">
<div class="d-flex flex-row">
{{/* Main content on the left */}}
<div class="card-text p-4 flex-grow-1">
<h4 class="article-title mb-2">
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h4>
{{ with .Params.subtitle }}
<p class="article-subtitle">{{ . }}</p>
{{ end }}
<div class="article-metadata">
<span class="article-date">
{{ .Date.Format "January 2, 2006" }}
</span>
</div>
{{ with .Params.summary }}
<div class="article-style">
{{ . | markdownify | emojify }}
</div>
{{ end }}
</div>
{{/* Display event image on the right if available */}}
{{ $image := .Resources.GetMatch (.Params.image.filename | default "featured.*") }}
{{ if $image }}
<div class="card-image align-self-center" style="flex-shrink: 0; max-width: 200px; margin-left: 20px;">
<a href="{{ .RelPermalink }}">
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" class="img-fluid" loading="lazy">
</a>
</div>
{{ end }}
</div>
</div>
</div>
{{ end }}
{{ end }}
</div>
{{ else }}
<p><em>No current events at this time.</em></p>
{{ end }}
</div>
</div>
</div>
{{ end }}
74 changes: 74 additions & 0 deletions layouts/past-events/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{{ define "main" }}
<div class="universal-wrapper">
<div class="row">
<div class="col-lg-12">
{{ with .Title }}
<h1>{{ . }}</h1>
{{ end }}

{{ with .Params.header.caption }}
<p class="page-subtitle">{{ . | markdownify }}</p>
{{ end }}

{{ .Content }}

{{/* Display past/completed events */}}
{{/* Users set status: current for active events, status: past for completed ones */}}

{{ $eventsSection := .Site.GetPage "/events" }}
{{ $allEventPages := $eventsSection.Pages }}

{{/* Filter to only regular pages (exclude sections) without status: current */}}
{{ $regularPages := where $allEventPages "Kind" "page" }}
{{ $events := where $regularPages "Params.status" "ne" "current" }}
{{ $events = $events | first 100 }}

{{ if gt (len $events) 0 }}
<div class="row isotope projects-container">
{{ range sort $events ".Date" "desc" }}
{{/* Skip _index pages */}}
{{ if ne .Kind "section" }}
<div class="col-12 col-lg-12 mb-4 isotope-item">
<div class="card">
<div class="d-flex flex-row">
{{/* Main content on the left */}}
<div class="card-text p-4 flex-grow-1">
<h4 class="article-title mb-2">
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h4>
{{ with .Params.subtitle }}
<p class="article-subtitle">{{ . }}</p>
{{ end }}
<div class="article-metadata">
<span class="article-date">
{{ .Date.Format "January 2, 2006" }}
</span>
</div>
{{ with .Params.summary }}
<div class="article-style">
{{ . | markdownify | emojify }}
</div>
{{ end }}
</div>
{{/* Display event image on the right if available */}}
{{ $image := .Resources.GetMatch (.Params.image.filename | default "featured.*") }}
{{ if $image }}
<div class="card-image align-self-center" style="flex-shrink: 0; max-width: 200px; margin-left: 20px;">
<a href="{{ .RelPermalink }}">
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" class="img-fluid" loading="lazy">
</a>
</div>
{{ end }}
</div>
</div>
</div>
{{ end }}
{{ end }}
</div>
{{ else }}
<p><em>No past events found.</em></p>
{{ end }}
</div>
</div>
</div>
{{ end }}
71 changes: 71 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,77 @@ administrator to adopt the changes.

In order to add SASS or CSS rules, add them into `assets/scss/custom.scss`. This is compiled into wowchemy.css in the `head`.

### Events

Events are managed using a simple `status` field. Events marked as `current` appear on the main Events page, while all others appear on Past Events.

#### Creating a New Event

**Via GitHub Web Interface:**

1. Go to [`content/events/`](https://github.com/researchsoft/website/tree/main/content/events) in the repository
2. Click **Add file** → **Create new file**
3. Name your file: `YYYY-MM-event-name/index.md` (e.g., `2026-09-conference/index.md`)
- The folder name should include the date and be descriptive
- Always end with `/index.md`

4. Copy this template into the file:
```yaml
---
title: "Your Event Title"
subtitle: ""
date: "2026-09-15"
status: current
authors:
- ""
categories:
- Event
- Ongoing
summary: "Brief one-line description that appears on the events list."
image:
preview_only: true
filename: "event-logo.png"
draft: false
---

Full event description goes here. Include all details, links, and information about the event.
```

5. **Customize the frontmatter** (the section between `---`):
- `title`: Your event name
- `date`: Event date in `YYYY-MM-DD` format
- `status: current` means it appears on the main Events page
- `summary`: One sentence that shows up in the list view
- `image.filename`: Optional - name of logo/image file (see below)

6. If you have an event logo or image:
- After creating the index.md, go back to your event folder
- Click **Add file** → **Upload files**
- Upload your image (PNG, JPG recommended)
- Make sure the filename matches what you put in `image.filename`

7. Commit your changes with a message like "Add [Event Name] event"

#### Moving an Event from Current to Past

When an event has concluded:

1. Navigate to the event's `index.md` file in GitHub (e.g., `content/events/2026-09-conference/index.md`)
2. Click the pencil icon (Edit this file)
3. Find the line that says `status: current`
4. Change it to `status: past` OR delete the entire line
5. Optionally, change the category from `Ongoing` to `Past`
6. Scroll down and commit: "Move [Event Name] to past events"

The event will now appear on the Past Events page instead of the main Events page. **No files need to be moved** - events stay in the same folder.

#### Quick Reference

- **Current events**: Have `status: current` in frontmatter → show on `/events/`
- **Past events**: Have `status: past` or no status field → show on `/past-events/`
- **Event images**: Optional, placed in same folder as index.md, displayed on the right side of event cards
- **All events** live in `content/events/` regardless of status

## Extra information

Due to limitations in the version of Hugo that Netlify runs,
Expand Down