From 9b5a346838bc0aca2f64d2b64c3d764cab21eb52 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Fri, 19 Jun 2026 13:54:58 -0600 Subject: [PATCH 1/5] feat: infra for editors to be updated --- .../layouts/shortcodes/editorial-board.html | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/themes/clean-hugo/layouts/shortcodes/editorial-board.html b/themes/clean-hugo/layouts/shortcodes/editorial-board.html index 7ff472e9..82072a68 100644 --- a/themes/clean-hugo/layouts/shortcodes/editorial-board.html +++ b/themes/clean-hugo/layouts/shortcodes/editorial-board.html @@ -1,17 +1,9 @@ -{{/* Editorial board: roles from data/*.yml, profiles from contributors.yml - Usage: - {{< editorial-board >}} — active + emeritus - {{< editorial-board section="active" >}} — active board only - {{< editorial-board section="emeritus" >}} — emeritus only -*/}} -{{ $section := .Get "section" | default "all" }} +{{/* Editorial board: roles from data/*.yml, profiles from contributors.yml */}} {{ $board := index .Page.Site.Data "editorial-board" }} {{ $emeritus := index .Page.Site.Data "emeritus-editors" }} {{ $contributors := .Page.Site.Data.contributors | default slice }} -{{ $showActive := or (eq $section "all") (eq $section "active") }} -{{ $showEmeritus := or (eq $section "all") (eq $section "emeritus") }} -{{ if and $showActive $board }} +{{ if $board }}

Meet our editorial board

@@ -38,11 +30,11 @@

Meet our editorial board

{{ end }} -{{ if and $showEmeritus $emeritus }} +{{ if $emeritus }}
-

Emeritus editors

-

We are deeply grateful for those who served on our editorial board previously.

+

Emeritus & guest editors

+

We are deeply grateful for those served on our editorial board previously!

{{ partial "people/emeritus-editorial-grid.html" (dict "board" $emeritus "contributors" $contributors) }} From 39cf53824e6bc8a91b364524bc2e13420171c6aa Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Sun, 21 Jun 2026 08:26:41 -0600 Subject: [PATCH 2/5] Feat: sign for ai research --- README.md | 9 +++------ content/_index.md | 6 +++--- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0a874e50..43a58b5a 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,9 @@ Please explore [the site](https://pyopensci.org). If you find a typo, bug or iss ## Next Steps -If you are interested in contributing to pyOpenSci, start with -[**CONTRIBUTING.md**](./CONTRIBUTING.md) — local setup, website development, -and how to add a multi-page **documentation book** (`layout: docs`) on the Hugo -site. +If you are interested in contributing to pyOpenSci, check out our [**CONTRIBUTING guide**](./CONTRIBUTING.md) for an overview of the types of contributions that we welcome. and our DEVELOPMENT.md for instructions on how to set up the website locally and make changes. -For organization-wide norms, see +For organization-wide guidelines, see [**pyOpenSci's organization-wide contributing guide**](https://www.pyopensci.org/handbook/CONTRIBUTING.html). ## Installation and development @@ -48,7 +45,7 @@ root (`content/`, `data/`, `themes/clean-hugo/`). hugo server --disableFastRender ``` - Use `--disableFastRender` while editing layouts or CSS so changes rebuild reliably. + Use `--disableFastRender` while editing layouts or CSS so changes rebuild in real time as you work on the site locally. 4. Open [http://localhost:1313/](http://localhost:1313/) in your browser. diff --git a/content/_index.md b/content/_index.md index e02a5615..b6aa2e86 100644 --- a/content/_index.md +++ b/content/_index.md @@ -75,9 +75,9 @@ current_project: quote: | Gen AI reminds us that the centerpiece of open source is building community around a specific problem. AI may add functionality — but it cannot replace the context and judgment of a diverse and engaged community." cite: Eliot Robson, pyOpenSci Peer Review Lead - #cta_prompt: Interested in contributing to this research? - button_label: Get involved - # button_url: "/your-destination-path/" # uncomment when the CTA link is ready + cta_prompt: Interested in contributing to this research? + button_label: Sign Up to Get involved + button_url: "https://forms.gle/yTNXwQWQC4dLvErB7" upcoming_events: title: Where you can find us limit: 3 From 4adb61ce819614ccc1b504f91bf8a50a40d62c44 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Sun, 21 Jun 2026 08:34:22 -0600 Subject: [PATCH 3/5] fix: dualing editors section --- .../layouts/shortcodes/editorial-board.html | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/themes/clean-hugo/layouts/shortcodes/editorial-board.html b/themes/clean-hugo/layouts/shortcodes/editorial-board.html index 82072a68..7ff472e9 100644 --- a/themes/clean-hugo/layouts/shortcodes/editorial-board.html +++ b/themes/clean-hugo/layouts/shortcodes/editorial-board.html @@ -1,9 +1,17 @@ -{{/* Editorial board: roles from data/*.yml, profiles from contributors.yml */}} +{{/* Editorial board: roles from data/*.yml, profiles from contributors.yml + Usage: + {{< editorial-board >}} — active + emeritus + {{< editorial-board section="active" >}} — active board only + {{< editorial-board section="emeritus" >}} — emeritus only +*/}} +{{ $section := .Get "section" | default "all" }} {{ $board := index .Page.Site.Data "editorial-board" }} {{ $emeritus := index .Page.Site.Data "emeritus-editors" }} {{ $contributors := .Page.Site.Data.contributors | default slice }} +{{ $showActive := or (eq $section "all") (eq $section "active") }} +{{ $showEmeritus := or (eq $section "all") (eq $section "emeritus") }} -{{ if $board }} +{{ if and $showActive $board }}

Meet our editorial board

@@ -30,11 +38,11 @@

Meet our editorial board

{{ end }} -{{ if $emeritus }} +{{ if and $showEmeritus $emeritus }}
-

Emeritus & guest editors

-

We are deeply grateful for those served on our editorial board previously!

+

Emeritus editors

+

We are deeply grateful for those who served on our editorial board previously.

{{ partial "people/emeritus-editorial-grid.html" (dict "board" $emeritus "contributors" $contributors) }} From cb6e188ffabf36bc7aaf41ce43fc16377a3459c4 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Sun, 21 Jun 2026 08:35:49 -0600 Subject: [PATCH 4/5] fix: remove cont awesome from community link --- hugo.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/hugo.toml b/hugo.toml index a4effeae..b69e91bc 100644 --- a/hugo.toml +++ b/hugo.toml @@ -253,8 +253,6 @@ buildFuture = true url = '/our-community/' parent = 'Community' weight = 1 - [menu.main.params] - icon = 'fa-brands fa-discourse' [[menu.main]] name = 'Handbook' From 0df16100a611e2d47ea560ff4de66514f696e303 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Sun, 21 Jun 2026 11:36:36 -0600 Subject: [PATCH 5/5] fix: ensure dropdown appears bw 768-1024 and white background --- themes/clean-hugo/assets/css/_navigation.scss | 28 +++++++++++-------- themes/clean-hugo/static/js/navigation.js | 2 +- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/themes/clean-hugo/assets/css/_navigation.scss b/themes/clean-hugo/assets/css/_navigation.scss index c0c8770e..3944dd54 100644 --- a/themes/clean-hugo/assets/css/_navigation.scss +++ b/themes/clean-hugo/assets/css/_navigation.scss @@ -1,4 +1,3 @@ -/* Site navigation — dark purple banner with light text */ .site-nav { position: relative; background-color: var(--color-brand-purple); @@ -49,7 +48,7 @@ height: clamp(2.75rem, 5vw, 3.25rem); object-fit: contain; - @media (min-width: $breakpoint-md) { + @media (min-width: $breakpoint-lg) { height: clamp(3rem, 4.5vw, 3.75rem); } } @@ -105,7 +104,7 @@ } } -@media (min-width: $breakpoint-md) { +@media (min-width: $breakpoint-lg) { .site-nav__toggle { display: none; } @@ -147,7 +146,7 @@ } } -@media (min-width: $breakpoint-md) { +@media (min-width: $breakpoint-lg) { .site-nav__menu { display: flex; position: relative; @@ -183,7 +182,7 @@ } } -@media (min-width: $breakpoint-md) { +@media (min-width: $breakpoint-lg) { .site-nav__link { display: inline-block; } @@ -215,7 +214,7 @@ } /* Desktop hover behavior */ -@media (min-width: $breakpoint-md) { +@media (min-width: $breakpoint-lg) { .site-nav__dropdown:hover, .site-nav__dropdown:focus-within { .site-nav__link--dropdown i { @@ -234,7 +233,11 @@ padding-top: 0.5rem; list-style: none; padding-right: 0; - margin: 0; + margin: 0.25rem 1rem 0.5rem; + background-color: var(--color-white); + border: 1px solid var(--color-gray-200); + border-radius: $radius-md; + padding-block: 0.5rem; &.site-nav__dropdown-menu--open { display: block; @@ -245,12 +248,13 @@ } } -@media (min-width: $breakpoint-md) { +@media (min-width: $breakpoint-lg) { .site-nav__dropdown-menu { position: absolute; top: calc(100% + 0.5rem); left: 0; - background-color: white; + margin: 0; + background-color: var(--color-white); border: 1px solid var(--color-gray-200); border-radius: 0.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); @@ -270,7 +274,7 @@ } } -.site-nav__dropdown-link { +a.site-nav__dropdown-link { padding: 0.75rem 1rem; font-size: 1rem; font-weight: 500; @@ -296,8 +300,8 @@ } /* On mobile, make dropdown links indent slightly for hierarchy */ -@media (max-width: 767px) { - .site-nav__dropdown-link { +@media (max-width: ($breakpoint-lg - 0.02px)) { + a.site-nav__dropdown-link { padding-left: 2rem; } } diff --git a/themes/clean-hugo/static/js/navigation.js b/themes/clean-hugo/static/js/navigation.js index 595128eb..5f1f3756 100644 --- a/themes/clean-hugo/static/js/navigation.js +++ b/themes/clean-hugo/static/js/navigation.js @@ -29,7 +29,7 @@ if (dropdownToggle && dropdownMenu) { dropdownToggle.addEventListener('click', function(e) { // On mobile, toggle dropdown - if (window.innerWidth < 768) { + if (window.innerWidth < 1024) { e.preventDefault(); const isOpen = dropdownMenu.classList.contains('site-nav__dropdown-menu--open'); // Toggle menu visibility