From 5fd30c8f2aea07acff120b73a841d98c3ea1742b Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 24 Sep 2026 07:26:22 -0500 Subject: [PATCH] Remove placeholder news post and expand the launch post Two Ad Grants website-policy items, both about content rather than links. The January "New Website!" post was fifteen words ending "New information and features coming soon!", which is the under-construction text the policy calls out. It is deleted, and its URL plus the old WordPress URL that pointed at it now redirect to the September launch post. That September post was itself only 27 words, and carried the same title, so /news/ listed two identical headlines. It is now a real overview of what the new site covers, linking to the tools, visit, classes, events, donate, membership and contact pages. Its photo shows the gear logo on a laptop and a phone rather than screenshots of the site, so the alt text now says that. Adds /wp-content/* alongside the existing /wp-admin/* rule. Separately, /api/health listed the Worker's binding names to anyone who asked. The boolean map it already returns covers what the endpoint is for, so the name list is removed. Co-Authored-By: Claude Opus 5 --- content/news/new-website-sept-2026.md | 17 +++++++++++++++-- content/news/new-website.md | 8 -------- src/index.js | 4 ++-- static/_redirects | 6 ++++-- 4 files changed, 21 insertions(+), 14 deletions(-) delete mode 100644 content/news/new-website.md diff --git a/content/news/new-website-sept-2026.md b/content/news/new-website-sept-2026.md index fc2b050..6894d79 100644 --- a/content/news/new-website-sept-2026.md +++ b/content/news/new-website-sept-2026.md @@ -1,8 +1,21 @@ --- title: New Website! date: 2026-09-19T23:01:02-05:00 -description: Columbia Gadget Works launched a new website in September 2026. +description: Columbia Gadget Works launched a new website in September 2026, with a page for every part of the shop, a class and events calendar, and online giving. image: cgw-website-screens.jpg +imageAlt: The Columbia Gadget Works gear logo on a laptop screen and a phone, on a wooden desk beside a notebook and pen --- -The site has been rebuilt again, this time as a fast static site that any member can edit on GitHub. Check out the [source code](https://github.com/ColumbiaGadgetWorks/website) +The Columbia Gadget Works website has been rebuilt from the ground up. The old site was a handful of pages and blog posts. The new one tries to answer the questions people actually ask before they walk through the door on Grand Avenue. + +## What's new + +- **A page for every part of the shop.** The [tools section](/tools/) covers the [laser cutter](/tools/laser-cutter/), [CNC router](/tools/cnc-router/), [3D printers](/tools/3d-printers/), [metal shop](/tools/metal-shop/), [metal casting](/tools/metal-casting/), [electronics bench](/tools/electronics-bench/), and [woodshop](/tools/woodshop/): what each one does, what people make with it, and which tools need training first. +- **A guide for first-time visitors.** The [visit page](/visit/) explains what to expect at Open Hack Night, every Thursday from 6 to 8 pm. No membership, no experience, and nothing to bring. +- **Classes and events in one place.** The [classes page](/classes/) collects the workshops members have taught and explains how to propose one, and the [events calendar](/events/) lists Open Hack Night, the free monthly City of Columbia grant classes starting in November, and board meetings. +- **Easier giving.** You can donate directly on the [donate page](/donate/), as a one-time, monthly, or yearly gift, and [membership](/membership/) dues and scholarship options are laid out plainly. +- **Ways to reach us.** There is a [contact form](/contact/), and you can sign up for email updates about new classes and events. + +## Built by members + +The site is a fast static site, and its source is public on [GitHub](https://github.com/ColumbiaGadgetWorks/website). Any member can fix a typo, add an event, or write up a project by opening a pull request. If you taught a class, finished a build, or took a good photo on a Thursday night, we would love to post it here. diff --git a/content/news/new-website.md b/content/news/new-website.md deleted file mode 100644 index ef2e495..0000000 --- a/content/news/new-website.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: New Website! -date: 2026-01-27T13:34:15-06:00 -description: Columbia Gadget Works launched a new website in January 2026. ---- - -Please bear with us during the transition. New information and features coming soon! - diff --git a/src/index.js b/src/index.js index 723628f..dc8a130 100644 --- a/src/index.js +++ b/src/index.js @@ -19,7 +19,8 @@ export default { return handleExport(request, env); } if (pathname === '/api/health') { - // Reports which secrets are present (names only, never values) so a misconfigured form is diagnosable. + // Reports whether each known binding is present, so a misconfigured form is + // diagnosable. Never reports values, and does not enumerate binding names. return Response.json({ ok: true, configured: { @@ -29,7 +30,6 @@ export default { SUBSCRIBERS_EXPORT_TOKEN: Boolean(env.SUBSCRIBERS_EXPORT_TOKEN), DISCORD_SIGNUP_WEBHOOK_URL: Boolean(env.DISCORD_SIGNUP_WEBHOOK_URL), }, - envKeys: Object.keys(env).filter(k => k !== 'ASSETS').sort(), }); } if (pathname.startsWith('/api/')) return new Response('Not found', { status: 404 }); diff --git a/static/_redirects b/static/_redirects index 9b49f49..0f82db9 100644 --- a/static/_redirects +++ b/static/_redirects @@ -1,5 +1,6 @@ -# Old WordPress URLs → new site. Cloudflare Pages reads this file. -/2026/01/27/hello-world/ /news/new-website/ 301 +# Old WordPress URLs to their pages on this site. Read by Cloudflare Workers static assets. +/2026/01/27/hello-world/ /news/new-website-sept-2026/ 301 +/news/new-website/ /news/new-website-sept-2026/ 301 /2026/01/27/metalworking-class/ /news/metalworking-class/ 301 /2026/02/20/metal-casting-class-feb-26th/ /news/metal-casting-class-feb-26th/ 301 /2026/02/27/metal-casting-class-recap/ /news/metal-casting-class-recap/ 301 @@ -11,3 +12,4 @@ /feed/ /news/index.xml 301 /wp-login.php / 301 /wp-admin/* / 301 +/wp-content/* / 301