From ce7c3341b7caad5ccfdb8803c036a356d78aca66 Mon Sep 17 00:00:00 2001 From: Hikari Date: Fri, 17 Apr 2026 16:33:05 -0700 Subject: [PATCH] feat: style reset button and override OG image on forms.nhcarrigan.com - Style .test-form-reset with theme accent colour (#A8577E) for readability - Replace Grist default OG image URL directly so all three meta tags use the nhcarrigan CDN image --- nginx/nginx/sites-available/forms.conf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nginx/nginx/sites-available/forms.conf b/nginx/nginx/sites-available/forms.conf index b4fadf5..71fda05 100644 --- a/nginx/nginx/sites-available/forms.conf +++ b/nginx/nginx/sites-available/forms.conf @@ -96,6 +96,9 @@ server { # Disable Gzip from upstream so nginx can inject CSS proxy_set_header Accept-Encoding ""; + # Override Grist OG image (replace the URL directly so our image wins in all three tags) + sub_filter 'https://grist-static.com/icons/opengraph-preview-image.png' 'https://cdn.nhcarrigan.com/og-image.png'; + # Inject CSS and remove Grist branding sub_filter '' ' '; - sub_filter_once on; + sub_filter_once off; } # Upgrade websocket requests and route the api backend