From 2f0526a8090f30120b1f173ae353e62e8c6bc069 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 17 Dec 2025 14:09:24 +0000 Subject: [PATCH 1/4] Initial plan From 9407fa01a66725f93d9b0ff146451a45a64dd6ab Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 17 Dec 2025 14:14:48 +0000 Subject: [PATCH 2/4] Add BioC Scholarship Fund section to homepage Co-authored-by: mdozmorov <864945+mdozmorov@users.noreply.github.com> --- .gitignore | 1 + config.toml | 9 ++++++- layouts/index.html | 40 +++++++++++++++++++++++++++++++ layouts/partials/scholarship.html | 29 ++++++++++++++++++++++ 4 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 layouts/index.html create mode 100644 layouts/partials/scholarship.html diff --git a/.gitignore b/.gitignore index a0c6703..38a7c5e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ public/ .DS_Store +.hugo_build.lock diff --git a/config.toml b/config.toml index 0786b7d..472b53b 100644 --- a/config.toml +++ b/config.toml @@ -199,7 +199,7 @@ pagerSize = 50 """ [Permalinks] - blog = "/blog/:year/:month/:day/:contentbasename/" + blog = "/blog/:year/:month/:day/:filename/" # Enable or disable top bar with social icons [params.topbar] @@ -244,6 +244,13 @@ pagerSize = 50 title = "Speakers" # subtitle = "Confirmed speakers" +[params.scholarship] + enable = true + title = "BioC Scholarship Fund" + text = "Support the Bioconductor Scholarship Fund to help sustain critical infrastructure, improve documentation, and expand access to our community. Your contribution directly enables conference travel support and training opportunities for researchers who might not otherwise be able to participate." + link_url = "https://numfocus.org/donate-for-bioconductor" + link_text = "Donate Now" + [params.see_more] enable = false icon = "far fa-file-alt" diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..2cf24aa --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,40 @@ + + + + {{ partial "head.html" . }} + + + +
+ + {{ partial "top.html" . }} + + {{ partial "nav.html" . }} + + {{ partial "carousel.html" . }} + + {{ partial "news.html" . }} + + {{ partial "features.html" . }} + + {{ partial "testimonials.html" . }} + + {{ partial "speakers.html" . }} + + {{ partial "scholarship.html" . }} + + {{ partial "see_more.html" . }} + + {{ partial "recent_posts.html" . }} + + + + {{ partial "footer.html" . }} + +
+ + + {{ partial "scripts.html" . }} + + + diff --git a/layouts/partials/scholarship.html b/layouts/partials/scholarship.html new file mode 100644 index 0000000..c45ddd9 --- /dev/null +++ b/layouts/partials/scholarship.html @@ -0,0 +1,29 @@ +{{ if isset .Site.Params "scholarship" }} +{{ if .Site.Params.scholarship.enable }} +
+
+
+
+
+

{{ .Site.Params.scholarship.title }}

+
+

+ {{ .Site.Params.scholarship.text | markdownify }} +

+

+ {{ with .Site.Params.scholarship.link_url }} + + {{ end }} + {{ with .Site.Params.scholarship.link_text }} + {{ . }} + {{ end }} + {{ with .Site.Params.scholarship.link_url }} + + {{ end }} +

+
+
+
+
+{{ end }} +{{ end }} From 2713bf667ce4c16d47500cd8fb56bac8296498ac Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 17 Dec 2025 14:16:37 +0000 Subject: [PATCH 3/4] Improve security and robustness of scholarship section link Co-authored-by: mdozmorov <864945+mdozmorov@users.noreply.github.com> --- layouts/partials/scholarship.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/layouts/partials/scholarship.html b/layouts/partials/scholarship.html index c45ddd9..00348fe 100644 --- a/layouts/partials/scholarship.html +++ b/layouts/partials/scholarship.html @@ -11,13 +11,9 @@

{{ .Site.Params.scholarship.title }}

{{ .Site.Params.scholarship.text | markdownify }}

- {{ with .Site.Params.scholarship.link_url }} - - {{ end }} - {{ with .Site.Params.scholarship.link_text }} - {{ . }} - {{ end }} - {{ with .Site.Params.scholarship.link_url }} + {{ if and .Site.Params.scholarship.link_url .Site.Params.scholarship.link_text }} + + {{ .Site.Params.scholarship.link_text }} {{ end }}

From cfa098ad4e961063a345b7ef62ce4d635322e93c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 17 Dec 2025 14:28:58 +0000 Subject: [PATCH 4/4] Remove Google Maps API key to fix Netlify secrets scanning failure Co-authored-by: mdozmorov <864945+mdozmorov@users.noreply.github.com> --- config.toml | 2 +- themes/hugo-universal-theme/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index 472b53b..2c5c45f 100644 --- a/config.toml +++ b/config.toml @@ -160,7 +160,7 @@ pagerSize = 50 # Google Maps widget: If `googleMapsApiKey` is not set, no key will be passed to Google (which likely results in a broken map widget). enableGoogleMaps = false - googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y" + googleMapsApiKey = "" latitude = "-12.043333" longitude = "-77.028333" diff --git a/themes/hugo-universal-theme/README.md b/themes/hugo-universal-theme/README.md index 7434685..df2ac88 100644 --- a/themes/hugo-universal-theme/README.md +++ b/themes/hugo-universal-theme/README.md @@ -136,7 +136,7 @@ Example configuration: [params] ... enableGoogleMaps = true - googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y" + googleMapsApiKey = "YOUR_GOOGLE_MAPS_API_KEY" latitude = "-12.043333" longitude = "-77.028333"