Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ params:
[Funding](/docs/project/funding/) |
# from_year: 2024
github_repo: &repo https://github.com/theupdateframework/theupdateframework.io
gcs_engine_id: 011217106833237091527:la2vtv2emlw # CUSTOMIZE # FIXME get an ID for the starter?
## 2024-10-05 Disabling search until we agree on a viable solution. For context
## see https://github.com/theupdateframework/theupdateframework.io/pull/92
# gcs_engine_id: 06ecafa260afd40f9 # Also see layouts/partials/hooks/head-end.html
privacy_policy: https://www.linuxfoundation.org/legal/privacy-policy
ui:
navbar_logo: true
Expand Down
1 change: 1 addition & 0 deletions layouts/partials/hooks/head-end.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script type="text/javascript" async src="https://cse.google.com/cse.js?cx={{ .Site.Params.gcs_engine_id }}"></script>
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ to = "https://theupdateframework.github.io/specification/:splat"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self' code.jquery.com fonts.googleapis.com fonts.gstatic.com use.fontawesome.com app.netlify.com netlify-cdp-loader.netlify.app youtube.com; frame-src youtube.com www.youtube.com"
Content-Security-Policy = "default-src 'self' code.jquery.com fonts.googleapis.com fonts.gstatic.com cse.google.com www.google.com use.fontawesome.com app.netlify.com netlify-cdp-loader.netlify.app youtube.com; frame-src youtube.com www.youtube.com"
X-Frame-Options = "deny"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "no-referrer-when-downgrade"
Expand Down