Skip to content
Merged
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
2 changes: 1 addition & 1 deletion content/conference2027.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ url: "/conference2027"
# Conference Details
label: "Save the date"
conferenceTitle: "scverse conference 2027"
conferenceDates: "November 9 – 11, 2027"
conferenceDates: "November 2027"
conferenceLocation: "New York City, USA"
subtitle: "The fourth scverse conference comes to New York City. Follow us on our channels to hear about the venue, programme and registration as soon as they are announced."

Expand Down
7 changes: 4 additions & 3 deletions content/events/2027_11_conference.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
+++
title = "scverse Conference 2027-11 New York City"
date = 2027-11-09T00:00:00-05:00
end_date = 2027-11-11
date = 2027-11-01T00:00:00-05:00
end_date = 2027-11-30
date_label = "November 2027"
event_type = "conference"
location = "New York City"
image = "/img/events/2027_11_conference_bg_card.webp"
description = "The fourth scverse conference"
+++

Join us for the fourth scverse conference in **New York City**, from **Tuesday, November 9** to **Thursday, November 11**, 2027.
Join us for the fourth scverse conference in **New York City** in **November 2027**.

[Visit the dedicated conference page for more details](/conference2027/)
2 changes: 1 addition & 1 deletion layouts/events/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<article class="post">
<h1 class="post-title">{{ .Title }}</h1>
<div class="post-subtitle">
<span class="post-date">{{ .Date.Format "January 02, 2006" }}</span>
<span class="post-date">{{ .Params.date_label | default (.Date.Format "January 02, 2006") }}</span>
<div class="rss-icon">
<a href="/events/index.xml" aria-label="Events RSS feed">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true" focusable="false">
Expand Down
28 changes: 16 additions & 12 deletions layouts/partials/events/dates.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{{- $start := .Date }}
{{- $end := time.AsTime (.Params.end_date | default .Date) }}
{{- if eq ($start.Format "2006-01-02") ($end.Format "2006-01-02") }}
{{- $start.Format "Jan 2, 2006" }}
{{- else if eq ($start.Format "2006-01") ($end.Format "2006-01") }}
{{- $start.Format "Jan 2" }}–{{ $end.Format "2, 2006" }}
{{- else if eq $start.Year $end.Year }}
{{- $start.Format "Jan 2" }} –
{{ $end.Format "Jan 2, 2006" }}
{{- else }}
{{- $start.Format "Jan 2, 2006" }} –
{{ $end.Format "Jan 2, 2006" }}
{{- with .Params.date_label }}
{{ . }}
{{ else }}
{{- $start := .Date }}
{{- $end := time.AsTime (.Params.end_date | default .Date) }}
{{- if eq ($start.Format "2006-01-02") ($end.Format "2006-01-02") }}
{{- $start.Format "Jan 2, 2006" }}
{{- else if eq ($start.Format "2006-01") ($end.Format "2006-01") }}
{{- $start.Format "Jan 2" }}–{{ $end.Format "2, 2006" }}
{{- else if eq $start.Year $end.Year }}
{{- $start.Format "Jan 2" }} –
{{ $end.Format "Jan 2, 2006" }}
{{- else }}
{{- $start.Format "Jan 2, 2006" }} –
{{ $end.Format "Jan 2, 2006" }}
{{- end }}
{{- end }}
5 changes: 2 additions & 3 deletions layouts/partials/main/chip.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<div id="chip-announcement">
<a class="conference-banner" href="/conference2027">
<div class="conference-banner-date">
<span class="conference-banner-month">Nov</span>
<span class="conference-banner-day">9–11</span>
<span class="conference-banner-year">2027</span>
<span class="conference-banner-month">November</span>
<span class="conference-banner-day">2027</span>
</div>
<div class="conference-banner-body">
<div class="conference-banner-title">Save the date: scverse conference 2027</div>
Expand Down
Loading