-
Notifications
You must be signed in to change notification settings - Fork 1
Add BioC Scholarship Fund section to homepage #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devel
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for bioc2026 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-authored-by: mdozmorov <[email protected]>
Co-authored-by: mdozmorov <[email protected]>
|
Deploy has failed: 9:16:57 AM: ❯ Scanning complete. 415 file(s) scanned. Secrets scanning found 0 instance(s) of secrets and 1 instance(s) of likely secrets in build output or repo code. |
mdozmorov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Netlify fails to build. Fix:
9:16:57 AM: ❯ Scanning complete. 415 file(s) scanned. Secrets scanning found 0 instance(s) of secrets and 1 instance(s) of likely secrets in build output or repo code.
9:16:57 AM:
9:16:57 AM: "AIza***" detected as a likely secret:
9:16:57 AM: found value at line 163 in config.toml
9:16:57 AM: found value at line 139 in themes/hugo-universal-theme/README.md
9:16:57 AM:
9:16:57 AM: To prevent exposing secrets, the build will fail until these likely secret values are not found in build output or repo files.
9:16:57 AM:
9:16:57 AM: If these are expected, use SECRETS_SCAN_SMART_DETECTION_OMIT_VALUES, or SECRETS_SCAN_SMART_DETECTION_ENABLED to prevent detecting.
9:16:57 AM:
9:16:57 AM: For more information on secrets scanning, see the Netlify Docs: https://ntl.fyi/configure-secrets-scanning
9:16:57 AM:
9:16:57 AM: Secrets scanning detected secrets in files during build.
9:16:57 AM: ────────────────────────────────────────────────────────────────
9:16:57 AM:
9:16:57 AM: Error message
9:16:57 AM: Secrets scanning found secrets in build.
Co-authored-by: mdozmorov <[email protected]>
Fixed in cfa098a. Removed the Google Maps API key from config.toml (set to empty string since enableGoogleMaps = false) and replaced it with a placeholder in the theme's README.md. The build should now pass Netlify's secrets scanning.
Fixed in cfa098a. Removed the exposed API key from both config.toml and themes/hugo-universal-theme/README.md. Since Google Maps is disabled (enableGoogleMaps = false), the key is now empty in config.toml, and the README uses a placeholder. |
Summary
Successfully added a new "BioC Scholarship Fund" section to the homepage after the Speakers section. The section includes:
Changes Made
layouts/partials/scholarship.html- new partial template for the scholarship section with proper security attributeslayouts/index.html- override of theme's index.html to include scholarship partial after speakersconfig.toml- added[params.scholarship]configuration with title, text, link URL, and link textconfig.toml- corrected permalink from:contentbasename/to:filename/(Hugo compatibility issue).gitignore- added.hugo_build.lockto exclude build artifactsconfig.tomlto resolve Netlify secrets scanning failurethemes/hugo-universal-theme/README.mdto use placeholder instead of actual API keySecurity Improvements
rel="noopener noreferrer"to prevent referrer leakageOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.